aboutsummaryrefslogtreecommitdiff
path: root/nixos/shared
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-12-14 20:57:54 +0100
committerMartin Fischer <martin@push-f.com>2025-12-14 21:07:51 +0100
commit4dda24d573daa349f4bb1d400a1e0e423876df77 (patch)
treedf179459e306cb7f284e2cfcf97d877a6affa5c3 /nixos/shared
parentbfb77d77538e6349eb674ea0000beaa8068dd72a (diff)
refactor: move host-specific secrets to host dirs
Diffstat (limited to 'nixos/shared')
-rw-r--r--nixos/shared/secrets/vpn-se-privKey.age12
-rw-r--r--nixos/shared/vpn.nix2
2 files changed, 13 insertions, 1 deletions
diff --git a/nixos/shared/secrets/vpn-se-privKey.age b/nixos/shared/secrets/vpn-se-privKey.age
new file mode 100644
index 0000000..ca2a8eb
--- /dev/null
+++ b/nixos/shared/secrets/vpn-se-privKey.age
@@ -0,0 +1,12 @@
+age-encryption.org/v1
+-> ssh-ed25519 PMTW+A WNGr/0aVmRRmhZ6P6PaWxPML3VRBi59QTD5kQ2AuqXk
+6ivhC1Cm/DVWdCxx+48U0YzJqhj0rmZ195SmjEX+Y4k
+-> ssh-ed25519 zNg/mg I4MbADHlAgwced5uYaEWXNgKvzfyGxKAWiXtg7rgRCg
+ipQGQn7rCu59gHq5DjQIckvqGO5P/LJTtSP8yViEVdQ
+-> ssh-ed25519 PHC5tQ xsy2ivym+ymHacFJeTwll7aJyypoQTg8h/DyaVp98xs
+rwPb2fCAtHKzUQgZ/0SxKZ37MnVb8u74vesd0o5G7yc
+-> @n>>$-grease @J3N{1sN qN_Oh]I K(#
+dA
+--- P0ZI10bTAqn+OPH84hF1V+Qa/X7gqvMZHkYAZQg5zgo
+ÏãÓv:LÕ“Q ™"[YU”ˆ
+´­K®Y¿ô?Þ+ô$AaúÂÙ?Û`o[k36Œ9«Uû0È®8PHÖ[øÔH´ÉÎ*g±`Ïõ‡w \ No newline at end of file
diff --git a/nixos/shared/vpn.nix b/nixos/shared/vpn.nix
index 9cbcf45..4015edb 100644
--- a/nixos/shared/vpn.nix
+++ b/nixos/shared/vpn.nix
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:
{
- age.secrets.vpn-se-privKey.file = ../secrets/vpn-se-privKey.age;
+ age.secrets.vpn-se-privKey.file = ./secrets/vpn-se-privKey.age;
# We're creating the wireguard interfaces in network namespaces so that
# we can use them on demand: