diff options
Diffstat (limited to 'hosts/ganymede')
| -rw-r--r-- | hosts/ganymede/caddy-tailscale-authkey.age | 6 | ||||
| -rw-r--r-- | hosts/ganymede/config.nix | 12 | ||||
| -rw-r--r-- | hosts/ganymede/williams-psk.age | 5 |
3 files changed, 21 insertions, 2 deletions
diff --git a/hosts/ganymede/caddy-tailscale-authkey.age b/hosts/ganymede/caddy-tailscale-authkey.age new file mode 100644 index 0000000..f2a7de6 --- /dev/null +++ b/hosts/ganymede/caddy-tailscale-authkey.age @@ -0,0 +1,6 @@ +age-encryption.org/v1 +-> ssh-ed25519 Jg4yWQ xYq/DjdgQ3LJhg797pf3LA39bU9akYBLd+RoH7RMPm4 +p9CQSoh2511x7c0WAUPut4hWA3k0AI5b2fQEol5Hqs4 +--- hkbJJSCnoSYIyHtbtuLKz+fN17anXp31b2MAADIpH/4 +ЋshZ +NZzvnB繯xZ;qY-"`'O͜P`PiTBsWJTv[?3L܌vԻeh
\ No newline at end of file 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; + }; }; }; }; diff --git a/hosts/ganymede/williams-psk.age b/hosts/ganymede/williams-psk.age new file mode 100644 index 0000000..1f26949 --- /dev/null +++ b/hosts/ganymede/williams-psk.age @@ -0,0 +1,5 @@ +age-encryption.org/v1 +-> ssh-ed25519 Jg4yWQ x4yUAZMn9eCey8YxPpdecYM/gjL81nLx8knzQcZDlV0 +5me7Z8K2hvNyTNY80GUM+rB9trko2x1MyUHRmCXl9vA +--- sQ2n7Rc6fd4QqfibSvSJGvTCKXygTeas4rVBlUXreVE +|wBAB:B-=VD}Epnq
\ No newline at end of file |
