web01, web02: switch back to autoupgrade
This commit is contained in:
parent
d883b923d5
commit
e536452b5a
3 changed files with 1 additions and 10 deletions
|
@ -4,18 +4,11 @@
|
||||||
withSystem "x86_64-linux" ({ hci-effects, pkgs, self', ... }:
|
withSystem "x86_64-linux" ({ hci-effects, pkgs, self', ... }:
|
||||||
let
|
let
|
||||||
inherit (config.repo) ref;
|
inherit (config.repo) ref;
|
||||||
inherit (hci-effects) mkEffect runCachixDeploy runIf;
|
inherit (hci-effects) mkEffect runIf;
|
||||||
inherit (pkgs.lib) hasPrefix;
|
inherit (pkgs.lib) hasPrefix;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
onPush.default.outputs.effects = {
|
onPush.default.outputs.effects = {
|
||||||
cachix-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
|
||||||
(runCachixDeploy {
|
|
||||||
deploy.agents = {
|
|
||||||
web01 = builtins.unsafeDiscardStringContext self.nixosConfigurations.web01.config.system.build.toplevel;
|
|
||||||
web02 = builtins.unsafeDiscardStringContext self.nixosConfigurations.web02.config.system.build.toplevel;
|
|
||||||
};
|
|
||||||
});
|
|
||||||
terraform-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
terraform-deploy = runIf (hasPrefix "refs/heads/gh-readonly-queue/master/" ref)
|
||||||
(mkEffect {
|
(mkEffect {
|
||||||
name = "terraform-deploy";
|
name = "terraform-deploy";
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
inputs.srvos.nixosModules.mixins-nginx
|
inputs.srvos.nixosModules.mixins-nginx
|
||||||
inputs.srvos.nixosModules.hardware-hetzner-cloud
|
inputs.srvos.nixosModules.hardware-hetzner-cloud
|
||||||
inputs.self.nixosModules.common
|
inputs.self.nixosModules.common
|
||||||
inputs.self.nixosModules.cachix-deploy
|
|
||||||
./samba.nix
|
./samba.nix
|
||||||
./postgresql.nix
|
./postgresql.nix
|
||||||
./pgbackrest.nix
|
./pgbackrest.nix
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
inputs.self.nixosModules.common
|
inputs.self.nixosModules.common
|
||||||
inputs.self.nixosModules.monitoring
|
inputs.self.nixosModules.monitoring
|
||||||
inputs.srvos.nixosModules.mixins-nginx
|
inputs.srvos.nixosModules.mixins-nginx
|
||||||
inputs.self.nixosModules.cachix-deploy
|
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "web02";
|
networking.hostName = "web02";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue