fix: move flake.nix

This commit is contained in:
Tibo De Peuter 2026-08-05 20:14:13 +02:00
parent a5ffe597f7
commit 367a63754f
Signed by: tdpeuter
SSH key fingerprint: SHA256:u/h/LVoqKF1Iz02uOyxe6hcjmoZASCGV2HM0TG9ZMoU
3 changed files with 5 additions and 5 deletions

View file

View file

@ -58,8 +58,8 @@
inherit system; inherit system;
modules = [ modules = [
./modules ./nixos/modules
./users ./nixos/users
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
({ config, pkgs, ... }: { ({ config, pkgs, ... }: {
@ -70,8 +70,8 @@
}; };
hosts = { hosts = {
izanagi.modules = [ ./hosts/izanagi ]; izanagi.modules = [ ./nixos/hosts/izanagi ];
Gitea.modules = [ ./hosts/Gitea ]; Gitea.modules = [ ./nixos/hosts/Gitea ];
}; };
}; };
} }

View file

@ -6,7 +6,7 @@ let
updateScript = pkgs.writeShellApplication { updateScript = pkgs.writeShellApplication {
name = "homelab-gitops-update"; name = "homelab-gitops-update";
runtimeInputs = [ pkgs.git pkgs.nixos-rebuild pkgs.jq pkgs.coreutils ]; runtimeInputs = [ pkgs.git pkgs.nixos-rebuild pkgs.jq pkgs.coreutils ];
text = builtins.readFile ../../../../scripts/nixos-sync.sh; text = builtins.readFile ../../../scripts/nixos-sync.sh;
}; };
in { in {