From 67c115f4f668f82e792990c5ab4f232188de3505 Mon Sep 17 00:00:00 2001 From: Kiara Grouwstra Date: Thu, 23 Oct 2025 15:41:27 +0200 Subject: [PATCH] rm optional from deployer Signed-off-by: Kiara Grouwstra --- deployment/check/common/deployerNode.nix | 26 +++++++++++------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/deployment/check/common/deployerNode.nix b/deployment/check/common/deployerNode.nix index 4a01f2cd..94cf491c 100644 --- a/deployment/check/common/deployerNode.nix +++ b/deployment/check/common/deployerNode.nix @@ -74,20 +74,18 @@ in ## configuration and the store paths needed to build it and ## dump them in `system.extraDependencies`. machine = - (pkgs.nixos ( - [ - ./targetNode.nix - # ../../../infra/common/nixos/repart.nix - config.system.extraDependenciesFromModule - { - nixpkgs.hostPlatform = "x86_64-linux"; - _module.args = { inherit inputs sources; }; - enableAcme = config.enableAcme; - acmeNodeIP = config.acmeNodeIP; - } - ] - ++ (lib.optional config.useFlake "${modulesPath}/../lib/testing/nixos-test-base.nix") - )).config; + (pkgs.nixos [ + ./targetNode.nix + # ../../../infra/common/nixos/repart.nix + "${modulesPath}/../lib/testing/nixos-test-base.nix" + config.system.extraDependenciesFromModule + { + nixpkgs.hostPlatform = "x86_64-linux"; + _module.args = { inherit inputs sources; }; + enableAcme = config.enableAcme; + acmeNodeIP = config.acmeNodeIP; + } + ]).config; in [