From 17ed07993d2cae3a963504e94583477249f87641 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Sat, 20 May 2023 00:48:06 +0200 Subject: [PATCH] Colmena: Add deployment tags and block deploy all --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index 2049481..eefcfd0 100644 --- a/flake.nix +++ b/flake.nix @@ -51,11 +51,13 @@ }; colmena = { + meta.allowApplyAll = false; meta.nixpkgs = import nixpkgs { system = "x86_64-linux"; }; defaults = { name, ... }: { deployment = { + tags = if name == "shirley" then [ "prod" ] else [ "dev" ]; # TODO: It'd probably be nice to derive that from the host-configured fqdn targetHost = "${name}.net.chaos.jetzt"; targetUser = null;