we only need one if and n peer, not the other way around
This commit is contained in:
parent
4264f02794
commit
d6a068f952
2 changed files with 29 additions and 32 deletions
|
@ -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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue