diff --git a/cluster/simulacrum/default.nix b/cluster/simulacrum/default.nix index 26eca7e..df15ad6 100644 --- a/cluster/simulacrum/default.nix +++ b/cluster/simulacrum/default.nix @@ -59,11 +59,13 @@ testers.runNixOSTest { imports = [ serviceConfig.simulacrum.settings ./nowhere - { - nodes.nowhere.imports = [ - config.flake.nixosModules.port-magic - ]; - } + ({ config, ... }: { + config = lib.mkIf config.nowhere.enable { + nodes.nowhere.imports = [ + lift.flake.nixosModules.port-magic + ]; + }; + }) ] ++ allAugments; _module.args = {