hosts: fix grabbing metadata for deployments
This commit is contained in:
parent
789889fe42
commit
df0bbbc83d
1 changed files with 4 additions and 2 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
let
|
||||
inherit (lib) elem mapAttrs toLower;
|
||||
inherit (config) gods cluster defaultEffectSystem;
|
||||
inherit (config) gods defaultEffectSystem;
|
||||
inherit (config.herculesCI) branch;
|
||||
inherit (self) nixosConfigurations;
|
||||
|
||||
meta = import ../tools/meta.nix;
|
||||
|
||||
chosenHours = gods.fromLight;
|
||||
|
||||
withEffectSystem = withSystem defaultEffectSystem;
|
||||
|
@ -14,7 +16,7 @@ let
|
|||
inherit (hci-effects) runIf runNixOS;
|
||||
inherit (host.enterprise) subdomain;
|
||||
|
||||
hostname = "${toLower name}.${subdomain}.${cluster.domain}";
|
||||
hostname = "${toLower name}.${subdomain}.${meta.domain}";
|
||||
|
||||
deploy-rs = inputs.deploy-rs.lib."${host.system}";
|
||||
in {
|
||||
|
|
Loading…
Reference in a new issue