Update default.nix
This commit is contained in:
parent
339c4da55d
commit
c14beaf03a
1 changed files with 3 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }:
|
||||
{ lib, pkgs, ... }:
|
||||
let
|
||||
inherit (builtins) readFile;
|
||||
in
|
||||
|
|
@ -28,7 +28,7 @@ in
|
|||
};
|
||||
|
||||
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: {
|
||||
nixosModule = lib.modules.importApply ./roles/agent.nix instanceArgs;
|
||||
nixosModule = lib.modules.importApply ./roles/agent.nix (instanceArgs // { inherit pkgs; });
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue