diff --git a/hosts/zeta/borg.nix b/hosts/zeta/borg.nix new file mode 100644 index 0000000..834339d --- /dev/null +++ b/hosts/zeta/borg.nix @@ -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; +} diff --git a/hosts/zeta/default.nix b/hosts/zeta/default.nix index b400666..8323211 100644 --- a/hosts/zeta/default.nix +++ b/hosts/zeta/default.nix @@ -5,6 +5,7 @@ ../../modules/desktop ../../modules/syncthing.nix ./hardware.nix + ./borg.nix ./sway.nix ]; diff --git a/secrets/borg-passphrase-file-zeta.age b/secrets/borg-passphrase-file-zeta.age new file mode 100644 index 0000000..879cb51 Binary files /dev/null and b/secrets/borg-passphrase-file-zeta.age differ diff --git a/secrets/secrets.nix b/secrets/secrets.nix index 8143dae..a09ef11 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -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