Merge branch 'fix-effect-run-nixos-config'

This commit is contained in:
Max Headroom 2022-05-27 20:30:57 +02:00
commit f4a0dc3231
2 changed files with 4 additions and 4 deletions

View file

@ -313,11 +313,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1653415319,
"narHash": "sha256-h+YUX7ZYujf73KL1R07LsEnhV7uV8oxSKEhH4bDj0Jc=",
"lastModified": 1653487348,
"narHash": "sha256-lWqxXMRqO8blpwhH2qvrFBVp6aZ7V+Z3xTqkNWKyLQw=",
"owner": "hercules-ci",
"repo": "hercules-ci-effects",
"rev": "1f904af1824e7393702daaf40a8fed56ebead0d7",
"rev": "0ab66b56d3f2b40ddfd981899d1757773632075f",
"type": "github"
},
"original": {

View file

@ -68,7 +68,7 @@
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
in effects.runIf (branch == "master" || branch == "staging") (effects.runNixOS {
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
config = self.nixosConfigurations.${name}.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
inherit (self.nixosConfigurations.${name}) config;
secretsMap.ssh = "deploy-ssh";
userSetupScript = ''