From 568b6c290f1fc00568abaa6218733c7f38334118 Mon Sep 17 00:00:00 2001 From: Anish Lakhwara Date: Tue, 14 Jun 2022 15:55:08 +1000 Subject: [PATCH] add borg-backup password secret --- secrets/borg-password.age | 8 ++++++++ secrets/secrets.nix | 5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 secrets/borg-password.age diff --git a/secrets/borg-password.age b/secrets/borg-password.age new file mode 100644 index 00000000..e8c46597 --- /dev/null +++ b/secrets/borg-password.age @@ -0,0 +1,8 @@ +age-encryption.org/v1 +-> ssh-ed25519 K2vF/Q Qy2T64fWyXzd5AGl/ml+qv4762P8ssuU6T5oY73XhGg +zqmeRJUBH7Uphk8w9y4139y35sY7aqNvi4VdEE3+9C4 +-> Ssv8/I?-grease C#A?FUJ _w +RWw+O3vvqWwiADgWHq618yDTmb/xMpl1C6qCcQBBh/DHUZOSNzNTPKALIs1sZcOd +6ruueM3qx9RD9Zk +--- pql0nQHe9TaQXhGBk5tEeCzMaRxNoNwUAhlda0PhPug +?^=N廖|1/D(fnsQ1:%ٽbי(ڦ!\`>؝i+6G8h6uh2LfhuXPƮJ/-ꦐf?'\sb/thV"Q \ No newline at end of file diff --git a/secrets/secrets.nix b/secrets/secrets.nix index f781341d..ec72324c 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -3,12 +3,13 @@ let user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItTdCyYVur6LzRQf08JZUcEAr23H7fTRRmDJOzoOc6A anish@curve"; system = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMPcqWQ/L5nLTsBFHArl3AJb9xynhfsKenb5h0NNuMV root@curve"; mossnet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA0bsVbdQR6iWNLKIiID57A1+dVXC58Dtf5cSXg6/JF root@box"; - allKeys = [ system user ]; + allKeys = [ system user mossnet ]; + systemOnly = [ system mossnet ]; in { "fastmail.age".publicKeys = allKeys; "mossnet.age".publicKeys = allKeys; "curve-wg.age".publicKeys = allKeys; "wallabag.age".publicKeys = [ mossnet ]; - "borg-password.age".publicKeys = [ mossnet ]; + "borg-password.age".publicKeys = systemOnly; }