This commit is contained in:
blahai 2025-02-01 01:32:26 +02:00
parent ffae125fcf
commit d6c098bbbe
No known key found for this signature in database
23 changed files with 92 additions and 587 deletions

View file

@ -9,7 +9,7 @@
inherit (lib.attrsets) filterAttrs;
# extract the names of the systems that we want to deploy
deployableSystems = attrNames (filterAttrs (_: attrs: attrs.deployable) config.easyHosts.hosts);
deployableSystems = attrNames (filterAttrs (_: attrs: attrs.deployable) config.easy-hosts.hosts);
easyHostsFromDeployableSystems =
filterAttrs (
@ -35,7 +35,7 @@ in {
profiles.system = {
user = "root";
sshUser = node.config.olympus.system.mainUser or "root";
path = inputs.deploy-rs.lib.${config.easyHosts.hosts.${name}.system}.activate.nixos node;
path = inputs.deploy-rs.lib.${config.easy-hosts.hosts.${name}.system}.activate.nixos node;
};
})
easyHostsFromDeployableSystems;