we only need one if and n peer, not the other way around

This commit is contained in:
asyncnomi 2025-07-21 02:34:47 +02:00
parent 4264f02794
commit d6a068f952
2 changed files with 29 additions and 32 deletions

View file

@ -38,6 +38,7 @@
nodes = import ./nodes.nix;
defaultModules = [
agenix.nixosModules.default
./shared/users.nix
./shared/commons.nix
];
@ -66,7 +67,7 @@
}) nodes;
};
# This is highly advised, and will prevent many possible mistakes
# This is highly advised, and will prevent many possible mistakes, just run "deploy -s" to bypass it
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
};
}