zeta borg

This commit is contained in:
Casper V. Kristensen 2024-03-04 22:11:07 +01:00
parent fa33e2b649
commit a917c790d6
4 changed files with 10 additions and 0 deletions

8
hosts/zeta/borg.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }: {
imports = [
../../modules/borg.nix
];
services.borgbackup.jobs.root.repo = "ssh://u394155-sub2@u394155.your-storagebox.de:23/./root";
age.secrets.borg-passphrase-file.file = ../../secrets/borg-passphrase-file-zeta.age;
}

View file

@ -5,6 +5,7 @@
../../modules/desktop
../../modules/syncthing.nix
./hardware.nix
./borg.nix
./sway.nix
];

Binary file not shown.

View file

@ -24,6 +24,7 @@ builtins.mapAttrs (name: value: { publicKeys = value ++ [ recovery ]; }) {
## Borg backup
"borg-passphrase-file-omega.age" = [ omega ];
"borg-passphrase-file-zeta.age" = [ zeta ];
## Wireguard
# The preshared key adds an additional layer of symmetric-key crypto to be