aboutsummaryrefslogtreecommitdiff
path: root/hosts/ganymede/config.nix
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-30 10:23:03 -0600
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2025-12-30 10:23:03 -0600
commit2c121c5411a78a5e8fc98b145c9667c8528e238c (patch)
tree6b2a2e3dd330bbb22ab5bc293bddc2d3f44fea90 /hosts/ganymede/config.nix
parent098f38e12ccc6317d7fe101e7de3e0d62c84cc86 (diff)
new secrets-management system
Diffstat (limited to 'hosts/ganymede/config.nix')
-rw-r--r--hosts/ganymede/config.nix12
1 files changed, 10 insertions, 2 deletions
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;
+ };
};
};
};