Merge branch 'fix-effect-run-nixos-config'
This commit is contained in:
commit
f4a0dc3231
2 changed files with 4 additions and 4 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -313,11 +313,11 @@
|
||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1653415319,
|
"lastModified": 1653487348,
|
||||||
"narHash": "sha256-h+YUX7ZYujf73KL1R07LsEnhV7uV8oxSKEhH4bDj0Jc=",
|
"narHash": "sha256-lWqxXMRqO8blpwhH2qvrFBVp6aZ7V+Z3xTqkNWKyLQw=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "hercules-ci-effects",
|
"repo": "hercules-ci-effects",
|
||||||
"rev": "1f904af1824e7393702daaf40a8fed56ebead0d7",
|
"rev": "0ab66b56d3f2b40ddfd981899d1757773632075f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
|
hostname = "${lib.toLower name}.${subdomain}.${meta.domain}";
|
||||||
in effects.runIf (branch == "master" || branch == "staging") (effects.runNixOS {
|
in effects.runIf (branch == "master" || branch == "staging") (effects.runNixOS {
|
||||||
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
|
requiredSystemFeatures = [ "hci-deploy-agent-nixos" ];
|
||||||
config = self.nixosConfigurations.${name}.config // { outPath = "wtfwtfwtfwtfwtfwtf"; };
|
inherit (self.nixosConfigurations.${name}) config;
|
||||||
secretsMap.ssh = "deploy-ssh";
|
secretsMap.ssh = "deploy-ssh";
|
||||||
|
|
||||||
userSetupScript = ''
|
userSetupScript = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue