add box-wg secret

This commit is contained in:
Anish Lakhwara 2022-06-14 17:34:19 +10:00
parent 04490dceb8
commit 2f457a42ce
3 changed files with 16 additions and 8 deletions

View file

@ -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";
};
}

8
secrets/box-wg.age Normal file
View file

@ -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

View file

@ -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;
}