fixup! cluster/simulacrum/nowhere: make optional

This commit is contained in:
Max Headroom 2024-08-13 21:47:07 +02:00
parent 059207f4e8
commit dea2425e27

View file

@ -59,11 +59,13 @@ testers.runNixOSTest {
imports = [ imports = [
serviceConfig.simulacrum.settings serviceConfig.simulacrum.settings
./nowhere ./nowhere
{ ({ config, ... }: {
config = lib.mkIf config.nowhere.enable {
nodes.nowhere.imports = [ nodes.nowhere.imports = [
config.flake.nixosModules.port-magic lift.flake.nixosModules.port-magic
]; ];
} };
})
] ++ allAugments; ] ++ allAugments;
_module.args = { _module.args = {