From 215085227b5846733c53a95723c9b3fd6f02a492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torjus=20H=C3=A5kestad?= Date: Sat, 7 Feb 2026 13:50:49 +0100 Subject: [PATCH] hosts: enable vault and deploy listener on test VMs - Add vault.enable = true to testvm01, testvm02, testvm03 - Add homelab.deploy.enable = true for remote deployment via NATS - Update create-host template to include these by default Co-Authored-By: Claude Opus 4.5 --- hosts/testvm01/configuration.nix | 6 ++++++ hosts/testvm02/configuration.nix | 6 ++++++ hosts/testvm03/configuration.nix | 6 ++++++ scripts/create-host/templates/configuration.nix.j2 | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/hosts/testvm01/configuration.nix b/hosts/testvm01/configuration.nix index 77b71fe..c493c76 100644 --- a/hosts/testvm01/configuration.nix +++ b/hosts/testvm01/configuration.nix @@ -18,6 +18,12 @@ tier = "test"; # Start in test tier, move to prod after validation }; + # Enable Vault integration + vault.enable = true; + + # Enable remote deployment via NATS + homelab.deploy.enable = true; + nixpkgs.config.allowUnfree = true; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/vda"; diff --git a/hosts/testvm02/configuration.nix b/hosts/testvm02/configuration.nix index dd3d718..323b818 100644 --- a/hosts/testvm02/configuration.nix +++ b/hosts/testvm02/configuration.nix @@ -18,6 +18,12 @@ tier = "test"; # Start in test tier, move to prod after validation }; + # Enable Vault integration + vault.enable = true; + + # Enable remote deployment via NATS + homelab.deploy.enable = true; + nixpkgs.config.allowUnfree = true; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/vda"; diff --git a/hosts/testvm03/configuration.nix b/hosts/testvm03/configuration.nix index 9ac7f5d..a3dd2f3 100644 --- a/hosts/testvm03/configuration.nix +++ b/hosts/testvm03/configuration.nix @@ -18,6 +18,12 @@ tier = "test"; # Start in test tier, move to prod after validation }; + # Enable Vault integration + vault.enable = true; + + # Enable remote deployment via NATS + homelab.deploy.enable = true; + nixpkgs.config.allowUnfree = true; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/vda"; diff --git a/scripts/create-host/templates/configuration.nix.j2 b/scripts/create-host/templates/configuration.nix.j2 index 909d319..9edb2c8 100644 --- a/scripts/create-host/templates/configuration.nix.j2 +++ b/scripts/create-host/templates/configuration.nix.j2 @@ -18,6 +18,12 @@ tier = "test"; # Start in test tier, move to prod after validation }; + # Enable Vault integration + vault.enable = true; + + # Enable remote deployment via NATS + homelab.deploy.enable = true; + nixpkgs.config.allowUnfree = true; boot.loader.grub.enable = true; boot.loader.grub.device = "/dev/vda";