From 2c121c5411a78a5e8fc98b145c9667c8528e238c Mon Sep 17 00:00:00 2001 From: Collin Williams <96917990+bluedragon1221@users.noreply.github.com> Date: Tue, 30 Dec 2025 10:23:03 -0600 Subject: new secrets-management system --- hosts/ganymede/config.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'hosts/ganymede/config.nix') diff --git a/hosts/ganymede/config.nix b/hosts/ganymede/config.nix index 8e751eb..b2feb60 100644 --- a/hosts/ganymede/config.nix +++ b/hosts/ganymede/config.nix @@ -1,7 +1,12 @@ -{ +{config, ...}: { collinux = { user.name = "collin"; + secrets = { + "williams-psk".file = ./williams-psk.age; + "caddy-tailscale-authkey".file = ./caddy-tailscale-authkey.age; + }; + terminal = { programs = { git = { @@ -30,7 +35,10 @@ selfhost = { adguard.enable = true; - caddy.enable = true; + caddy = { + enable = true; + envFile = config.collinux.secrets."caddy-tailscale-authkey".path; + }; }; }; }; -- cgit v1.3.1