idk probs something
This commit is contained in:
parent
7d81a07030
commit
c1650e57c8
|
@ -1,4 +1,3 @@
|
||||||
# Assumes the remote borg backup server has already been initialized
|
|
||||||
# TODO:
|
# TODO:
|
||||||
# This currently works on a per host basis, and the host file has to define all the locations it wants to back up.
|
# This currently works on a per host basis, and the host file has to define all the locations it wants to back up.
|
||||||
# Ideally, this would create a job for each profile instead, so the backup strategy is included in the profile regardless of host
|
# Ideally, this would create a job for each profile instead, so the backup strategy is included in the profile regardless of host
|
||||||
|
|
|
@ -3,13 +3,15 @@ let
|
||||||
user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItTdCyYVur6LzRQf08JZUcEAr23H7fTRRmDJOzoOc6A anish@curve";
|
user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItTdCyYVur6LzRQf08JZUcEAr23H7fTRRmDJOzoOc6A anish@curve";
|
||||||
system = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMPcqWQ/L5nLTsBFHArl3AJb9xynhfsKenb5h0NNuMV root@curve";
|
system = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIMPcqWQ/L5nLTsBFHArl3AJb9xynhfsKenb5h0NNuMV root@curve";
|
||||||
mossnet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA0bsVbdQR6iWNLKIiID57A1+dVXC58Dtf5cSXg6/JF root@box";
|
mossnet = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAA0bsVbdQR6iWNLKIiID57A1+dVXC58Dtf5cSXg6/JF root@box";
|
||||||
|
curve = [ system user ];
|
||||||
allKeys = [ system user mossnet ];
|
allKeys = [ system user mossnet ];
|
||||||
systemOnly = [ system mossnet ];
|
systemOnly = [ system mossnet ];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"fastmail.age".publicKeys = allKeys;
|
"fastmail.age".publicKeys = allKeys;
|
||||||
"mossnet.age".publicKeys = allKeys;
|
"mossnet.age".publicKeys = allKeys;
|
||||||
"curve-wg.age".publicKeys = allKeys;
|
"curve-wg.age".publicKeys = curve;
|
||||||
|
# "box-wg.age".publicKeys = [ mossnet ];
|
||||||
# "wallabag.age".publicKeys = [ mossnet ];
|
# "wallabag.age".publicKeys = [ mossnet ];
|
||||||
"borg-password.age".publicKeys = systemOnly;
|
"borg-password.age".publicKeys = systemOnly;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue