From a917c790d6b9ff298e8e89d8cc3d7826c9b4ed26 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Mon, 4 Mar 2024 22:11:07 +0100 Subject: [PATCH] zeta borg --- hosts/zeta/borg.nix | 8 ++++++++ hosts/zeta/default.nix | 1 + secrets/borg-passphrase-file-zeta.age | Bin 0 -> 375 bytes secrets/secrets.nix | 1 + 4 files changed, 10 insertions(+) create mode 100644 hosts/zeta/borg.nix create mode 100644 secrets/borg-passphrase-file-zeta.age 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 0000000000000000000000000000000000000000..879cb519b641c2a8a5b14d24e229bd0bc3b2e955 GIT binary patch literal 375 zcmYdHPt{G$OD?J`D9Oyv)5|YP*Do{V(zR14F3!+RO))YxHMCT)s0zvobX3UqsWA2_ z&J45A_Y1Q~4@nJnDsZ&WFAWX}FbweX&a0^O^fl4b`B>h