diff --git a/hosts/box/default.nix b/hosts/box/default.nix index b8e8792d..c4c6f2ee 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -33,11 +33,11 @@ # syncthing }; - #age.secrets.box-wg.file = "${self}/secrets/curve-wg.age"; - #age.secrets.box-wg.owner = "anish"; - #mossnet.wg = { - # enable = true; - # ips = [ "10.0.69.4/24" ]; - # privateKeyFile = "/run/agenix/box-wg"; - #}; + age.secrets.box-wg.file = "${self}/secrets/box-wg.age"; + age.secrets.box-wg.owner = "anish"; + mossnet.wg = { + enable = true; + ips = [ "10.0.69.4/24" ]; + privateKeyFile = "/run/agenix/box-wg"; + }; } diff --git a/secrets/box-wg.age b/secrets/box-wg.age new file mode 100644 index 00000000..51508c37 --- /dev/null +++ b/secrets/box-wg.age @@ -0,0 +1,8 @@ +age-encryption.org/v1 +-> ssh-ed25519 K2vF/Q Vbe7tvR9OtiY6YCfCAwkV9L/wlKd4h+stYnZu3aCSC4 +U5V2qDLFNrY4SQn9aZZyNtsfXpae8eqo6JH66gbKwdg +-> %!/-grease ErIq e d{ZU +vKMMQJKGGb1YCU3Jn6xq5JTLoGYgC+X58WVxjpHYF126aDBN0NOYxYqDJFRQGe5S +7wuRgDPn +--- QE25f0fQlnz4v6ei4OczAW9BpqOvnkwdc7re508d4A4 +z@ÒÆfóE/_`)ÞYVh²þûc¥~‰Žü½ïw¨ÎËÙ'ØF1i½êEÞ–ëU(3xt¼®PáZ¦ˆž;Í 3g‡[a6a0aU0 \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 9ac323cf..1685d2d0 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -11,7 +11,7 @@ in "fastmail.age".publicKeys = allKeys; "mossnet.age".publicKeys = allKeys; "curve-wg.age".publicKeys = curve; - # "box-wg.age".publicKeys = [ mossnet ]; + "box-wg.age".publicKeys = [ mossnet ]; # "wallabag.age".publicKeys = [ mossnet ]; "borg-password.age".publicKeys = systemOnly; }