From 1467819be28b176a4c363eef6434bb830e866f5a Mon Sep 17 00:00:00 2001 From: Constantin Gierczak--Galle Date: Mon, 9 Dec 2024 10:31:35 +0100 Subject: [PATCH] feat: add deployment tag 'cst1' --- machines/dns01/_configuration.nix | 1 + machines/homebox01/_configuration.nix | 1 + machines/photo01/_configuration.nix | 1 + machines/status01/_configuration.nix | 1 + 4 files changed, 4 insertions(+) diff --git a/machines/dns01/_configuration.nix b/machines/dns01/_configuration.nix index 2c5066d..bed7c7d 100644 --- a/machines/dns01/_configuration.nix +++ b/machines/dns01/_configuration.nix @@ -13,6 +13,7 @@ lib.extra.mkConfig { extraConfig = { # TODO : retrieve this address from meta/network.nix deployment.targetHost = "45.13.104.26"; + deployment.tags = [ "cst1" ]; networking.firewall = { enable = true; logRefusedConnections = lib.mkForce true; diff --git a/machines/homebox01/_configuration.nix b/machines/homebox01/_configuration.nix index f9617e1..ca2d2c6 100644 --- a/machines/homebox01/_configuration.nix +++ b/machines/homebox01/_configuration.nix @@ -12,6 +12,7 @@ lib.extra.mkConfig { ]; extraConfig = { + deployment.tags = [ "cst1" ]; networking = { firewall.allowedTCPPorts = [ 80 diff --git a/machines/photo01/_configuration.nix b/machines/photo01/_configuration.nix index 5619a02..ed16d5a 100644 --- a/machines/photo01/_configuration.nix +++ b/machines/photo01/_configuration.nix @@ -13,6 +13,7 @@ in ./photoprism.nix ]; deployment.targetHost = address; + deployment.tags = [ "cst1" ]; networking = { firewall.allowedTCPPorts = [ diff --git a/machines/status01/_configuration.nix b/machines/status01/_configuration.nix index ebce6a4..f30d639 100644 --- a/machines/status01/_configuration.nix +++ b/machines/status01/_configuration.nix @@ -12,6 +12,7 @@ lib.extra.mkConfig { ]; extraConfig = { + deployment.tags = [ "cst1" ]; networking = { firewall.allowedTCPPorts = [ 80