fixup! Merge branch 'hci-improvements'

This commit is contained in:
Max Headroom 2022-05-25 09:56:06 +02:00
parent 8d1bef0c74
commit 2dd7a0b60d

View file

@ -63,7 +63,7 @@
mkNixOS = mkNixOS' lib; mkNixOS = mkNixOS' lib;
mkDeployEffect = branch: name: host: let mkDeployEffect = branch: name: host: let
subdomain = hosts.enterprise.subdomain or "services"; subdomain = host.enterprise.subdomain or "services";
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}"; hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
in effects.runIf (branch == "master") (effects.runNixOS { in effects.runIf (branch == "master") (effects.runNixOS {
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ]; requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];