Compare commits

..

4 commits

Author SHA1 Message Date
fd9fc67037 flake.lock: Update
Flake lock file updates:

• Updated input 'hyprland':
    'git+https://github.com/hyprwm/Hyprland/?rev=300228b503b36e5977b0d58713c5b4cf1f07b8a9&submodules=1' (2024-07-17)
  → 'git+https://github.com/hyprwm/Hyprland/?ref=refs/heads/main&rev=300228b503b36e5977b0d58713c5b4cf1f07b8a9&submodules=1' (2024-07-17)
• Updated input 'lix':
    '8d12e0fbb7.tar.gz?narHash=sha256-5aO0cXENUI/38xsG0ww0QSsVSlkvMvKfxbeYXYH08Es%3D' (2024-07-24)
  → 'c4c7cb7613.tar.gz?narHash=sha256-bzqEYvkT78V86XPp4/WRYiLBeYZ0bqZu%2B2Who9UuIgE%3D' (2024-07-25)
2024-07-25 20:11:01 +00:00
78742fdccf
try bot action 2024-07-25 15:09:26 -05:00
eba2e31042
move pkgs out 2024-07-25 11:56:35 -05:00
05196cc93b
flake.lock: Update
Flake lock file updates:

• Updated input 'lix':
    '53f3e39815.tar.gz?narHash=sha256-M7Zb3UfjQ0o3qXHolhykIk%2BQzfhEBcEYK9QAPSiBtW4%3D' (2024-07-23)
  → '8d12e0fbb7.tar.gz?narHash=sha256-5aO0cXENUI/38xsG0ww0QSsVSlkvMvKfxbeYXYH08Es%3D' (2024-07-24)
• Updated input 'nixpkgs-wayland':
    'github:nix-community/nixpkgs-wayland/79e1f9e956c60af6520c5f9d9e451e555a82da6f' (2024-07-22)
  → 'github:nix-community/nixpkgs-wayland/0d5730fd37f70c4e56f37ba6e81bfe0a89e9da26' (2024-07-25)
• Updated input 'nixpkgs-wayland/nixpkgs':
    'github:nixos/nixpkgs/68c9ed8bbed9dfce253cc91560bf9043297ef2fe' (2024-07-21)
  → 'github:nixos/nixpkgs/dc14ed91132ee3a26255d01d8fd0c1f5bff27b2f' (2024-07-23)
2024-07-25 10:26:48 -05:00
6 changed files with 27 additions and 32 deletions

View file

@ -14,13 +14,10 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- run: git checkout -B flake-lock
- name: Setup Git Bot - uses: daylin-bot/actions/setup@main
run: |
git --version - run: git checkout -B flake-lock
git config user.name 'daylin-bot'
git config user.email 'bot@dayl.in'
- uses: DeterminateSystems/nix-installer-action@v12 - uses: DeterminateSystems/nix-installer-action@v12
with: with:
@ -51,7 +48,9 @@ jobs:
--print-build-logs --print-build-logs
- name: Commit Updates - name: Commit Updates
run: git push --set-upstream --force origin flake-lock uses: daylin-bot/actions/commit-and-push@main
with:
push-args: --set-upstream --force origin flake-lock
build-full: build-full:
needs: build-minimal needs: build-minimal

View file

@ -499,11 +499,11 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1721841700, "lastModified": 1721930741,
"narHash": "sha256-5aO0cXENUI/38xsG0ww0QSsVSlkvMvKfxbeYXYH08Es=", "narHash": "sha256-bzqEYvkT78V86XPp4/WRYiLBeYZ0bqZu+2Who9UuIgE=",
"rev": "8d12e0fbb7306cbc58b12ef051d7067d703738de", "rev": "c4c7cb7613a859faee3933a7f24f3e496e5548e9",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/8d12e0fbb7306cbc58b12ef051d7067d703738de.tar.gz" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/c4c7cb7613a859faee3933a7f24f3e496e5548e9.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",

View file

@ -1,12 +1,5 @@
{ enabled, ... }:
{ {
self,
pkgs,
enabled,
...
}:
{
imports = with self.nixosModules; [ restic ];
oizys = { oizys = {
languages = [ languages = [
"nim" "nim"
@ -20,12 +13,6 @@
nix-ld = enabled; nix-ld = enabled;
}; };
environment.systemPackages = with pkgs; [
(writeShellScriptBin "gitea" ''
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
'')
];
services.restic.backups.gdrive = { services.restic.backups.gdrive = {
# directories created by gitea and soft-serve aren't world readable # directories created by gitea and soft-serve aren't world readable
user = "root"; user = "root";

8
hosts/algiz/pkgs.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(writeShellScriptBin "gitea" ''
ssh -p 2222 -o StrictHostKeyChecking=no git@127.0.0.1 "SSH_ORIGINAL_COMMAND=\"$SSH_ORIGINAL_COMMAND\" $0 $@"
'')
];
}

View file

@ -1,8 +1,4 @@
{ { config, enabled, ... }:
config,
enabled,
...
}:
{ {
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader = { boot.loader = {

View file

@ -8,7 +8,6 @@ let
inherit (builtins) filter; inherit (builtins) filter;
inherit (lib) inherit (lib)
nixosSystem nixosSystem
isNixFile
mkDefaultOizysModule mkDefaultOizysModule
mkOizysModule mkOizysModule
enabled enabled
@ -16,12 +15,17 @@ let
pkgsFromSystem pkgsFromSystem
pkgFromSystem pkgFromSystem
overlayFrom overlayFrom
isNixFile
; ;
inherit (lib.filesystem) listFilesRecursive; inherit (lib.filesystem) listFilesRecursive;
pkgFrom = pkgFromSystem "x86_64-linux"; pkgFrom = pkgFromSystem "x86_64-linux";
pkgsFrom = pkgsFromSystem "x86_64-linux"; pkgsFrom = pkgsFromSystem "x86_64-linux";
hostPath = host: ../. + "/hosts/${host}";
# all nix files not including pkgs.nix
hostFiles = host: filter isNixFile (listFilesRecursive (hostPath host));
mkIso = nixosSystem { mkIso = nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
@ -54,7 +58,8 @@ let
../overlays ../overlays
inputs.lix-module.nixosModules.default inputs.lix-module.nixosModules.default
inputs.hyprland.nixosModules.default inputs.hyprland.nixosModules.default
] ++ filter isNixFile (listFilesRecursive (../. + "/hosts/${hostName}")); ] ++ (hostFiles hostName);
specialArgs = { specialArgs = {
inherit inherit
inputs inputs