Update default.nix

This commit is contained in:
Chris Kruining 2025-09-17 21:42:26 +02:00
parent 339c4da55d
commit c14beaf03a
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg

View file

@ -1,4 +1,4 @@
{ lib, ... }: { lib, pkgs, ... }:
let let
inherit (builtins) readFile; inherit (builtins) readFile;
in in
@ -28,7 +28,7 @@ in
}; };
perInstance = instanceArgs: { perInstance = instanceArgs: {
nixosModule = lib.modules.importApply ./roles/server.nix instanceArgs; nixosModule = lib.modules.importApply ./roles/server.nix (instanceArgs // { inherit pkgs; });
}; };
}; };
@ -41,7 +41,7 @@ in
}; };
perInstance = instanceArgs: { perInstance = instanceArgs: {
nixosModule = lib.modules.importApply ./roles/agent.nix instanceArgs; nixosModule = lib.modules.importApply ./roles/agent.nix (instanceArgs // { inherit pkgs; });
}; };
}; };
} }