rm optional from deployer

Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-10-23 15:41:27 +02:00
parent 1496b51be5
commit d9b380d279
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -74,10 +74,10 @@ in
## configuration and the store paths needed to build it and
## dump them in `system.extraDependencies`.
machine =
(pkgs.nixos (
[
(pkgs.nixos [
./targetNode.nix
# ../../../infra/common/nixos/repart.nix
"${modulesPath}/../lib/testing/nixos-test-base.nix"
config.system.extraDependenciesFromModule
{
nixpkgs.hostPlatform = "x86_64-linux";
@ -85,9 +85,7 @@ in
enableAcme = config.enableAcme;
acmeNodeIP = config.acmeNodeIP;
}
]
++ (lib.optional config.useFlake "${modulesPath}/../lib/testing/nixos-test-base.nix")
)).config;
]).config;
in
[