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
|
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; });
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue