From 24a3b1a96e167b809d634878d016a729969278c0 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 17:55:29 +0100 Subject: feat(shared): add vpn --- nixos/secrets/secrets.nix | 10 ++++++++++ nixos/secrets/vpn-se-presharedKey.age | 14 ++++++++++++++ nixos/secrets/vpn-se-privKey.age | 11 +++++++++++ 3 files changed, 35 insertions(+) create mode 100644 nixos/secrets/secrets.nix create mode 100644 nixos/secrets/vpn-se-presharedKey.age create mode 100644 nixos/secrets/vpn-se-privKey.age (limited to 'nixos/secrets') diff --git a/nixos/secrets/secrets.nix b/nixos/secrets/secrets.nix new file mode 100644 index 0000000..db19967 --- /dev/null +++ b/nixos/secrets/secrets.nix @@ -0,0 +1,10 @@ +let + martin = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICRBAAt77GXrDtIp6fSjeMHCV3e1ujCE0meetqX3YZpn"; + + hamac = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJmjbC0gk2s/qDQ+QR//GJH0ZPld99L0EtX7dPP5h2RN"; + ev = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINCSypbTOnAYBO32vUUieOsb6ws32gCsDg8nB8JhuFuI"; +in +{ + "vpn-se-privKey.age".publicKeys = [ martin hamac ev ]; + "vpn-se-presharedKey.age".publicKeys = [ martin hamac ev ]; +} diff --git a/nixos/secrets/vpn-se-presharedKey.age b/nixos/secrets/vpn-se-presharedKey.age new file mode 100644 index 0000000..1f56d86 --- /dev/null +++ b/nixos/secrets/vpn-se-presharedKey.age @@ -0,0 +1,14 @@ +age-encryption.org/v1 +-> ssh-ed25519 0iFcGg 33qVwdJ+x5d9ezpvYayjZqrwAZQDb7AxvOjQucyVYgQ +z5/tRvXEE+xSJ4BKQORu4yI+UG2GNaKdTZe0FkN4VyY +-> ssh-ed25519 zNg/mg 9rug5AzVUH/fIDvtSVA0SZkQ0tR+T59VY2UYPrxZfFM +g49jKdkf+tz/sl9g/RdfkRv/CKneO04rkXPprQYv9rw +-> ssh-ed25519 PHC5tQ H9j903SKpztlrUN/nP7Q8Io/iJLY8ka6aBlOc4d/+iA +hfQIpLuvT2D8eo5T0MmydivcQE7DFbHhLO809YET0HI +-> W}8>=-grease +hy4mn+TGe6QPbZud+cppGmgzyed8SgVcaYBumJdxIRy6NQXW8PH2itg6GTIR6Npb +Nhj9zeSsQvAq8no7z+Q5DsXI7o6iVUDgvoQ1HcUan7WYGqR5MA0 +--- WbaGYSFVrJ8+YgzYeLaLXfOsCDMMruUpmFtKvtym57E +Ik"a#L!1\: +=.+$@].Hnd]U/q-~ -T + \ No newline at end of file diff --git a/nixos/secrets/vpn-se-privKey.age b/nixos/secrets/vpn-se-privKey.age new file mode 100644 index 0000000..93de475 --- /dev/null +++ b/nixos/secrets/vpn-se-privKey.age @@ -0,0 +1,11 @@ +age-encryption.org/v1 +-> ssh-ed25519 0iFcGg KyKfFePFWpX9AOPw5Sy9UQkucPsQDwrEwRL66e3wdA4 +7DNSkNroD1HaRld0M5uMWtu7dojKUB7DPU9hdTPCXZ8 +-> ssh-ed25519 zNg/mg Y0w7MCgwQKqb8FurFOyEshSmfCNoIKi0OnOJUsDeh14 +xILssj5y6XbZ10b39MqqhN42DRQt1AKIdh/Eidin8dA +-> ssh-ed25519 PHC5tQ nfW6lDN4vrv5EOCZGmfe9LEto5FDbU9Vh1LOvrnpvR0 +KrGBpZh7+DalPFoM0rW6ylehDnrmCz2JAOKqMEN4BoQ +-> k4]AeAV-grease pSemvkw @C;y +vBW8ETA +--- 8Eel9tqXmZ3s7J1CqXlCMTOPAHWD/ftxB7t2DRtHi4A +T›{vgm We 5Yxr嶘v} ]MCMbHAZ?\Hl'L, \ No newline at end of file -- cgit v1.2.3