From dff3768ef3c55183ee797817cb2b3ef8cf6b379f Mon Sep 17 00:00:00 2001 From: clerie Date: Tue, 20 Jun 2023 18:39:28 +0200 Subject: [PATCH] hosts/krypton: add wg-clerie --- hosts/krypton/configuration.nix | 1 + hosts/krypton/network.nix | 9 +++++++++ hosts/krypton/secrets/wg-clerie.age | 9 +++++++++ 3 files changed, 19 insertions(+) create mode 100644 hosts/krypton/network.nix create mode 100644 hosts/krypton/secrets/wg-clerie.age diff --git a/hosts/krypton/configuration.nix b/hosts/krypton/configuration.nix index f5363d0..5c38f64 100644 --- a/hosts/krypton/configuration.nix +++ b/hosts/krypton/configuration.nix @@ -7,6 +7,7 @@ ../../configuration/desktop + ./network.nix ./programs.nix ]; diff --git a/hosts/krypton/network.nix b/hosts/krypton/network.nix new file mode 100644 index 0000000..4197c76 --- /dev/null +++ b/hosts/krypton/network.nix @@ -0,0 +1,9 @@ +{ ... }: + +{ + services.wg-clerie = { + enable = true; + ipv6s = [ "2a01:4f8:c0c:15f1::8011/128" ]; + ipv4s = [ "10.20.30.11/32" ]; + }; +} diff --git a/hosts/krypton/secrets/wg-clerie.age b/hosts/krypton/secrets/wg-clerie.age new file mode 100644 index 0000000..c0bf436 --- /dev/null +++ b/hosts/krypton/secrets/wg-clerie.age @@ -0,0 +1,9 @@ +age-encryption.org/v1 +-> ssh-ed25519 HwR33w 0Y7NesE81LYY2VHbm19hKWEo8p9S8T5aMnQku3wxQBw +zwmczl908y+wPZ2p9F+zqNxZ5i71lp3HztvBAVCWmcg +-> ssh-ed25519 xvh52g UKiSotdLrKTXzD2NI55W/os6CSeZNbq95aC+ThyVRAs +k539/K+GeDXttvFpAaNPEB73lXlnWuRmFU7p5D1xT2U +-> E29ePW!@-grease +Og +--- RTfeDZoUpF9cpXKRKKlQmnoooxVj7nRB+ef1G4bgvDI +á÷^¡pͧåù|Ül“ñ‡`ºùmïþ¶i¿bh´ 5Ö’‘ë¶4›òÑl%Ýn„¦àÔp² ƒ‚+© ]i<®Sjñù^™<·»ÿ \ No newline at end of file