diff --git a/hosts/sigma/borg.nix b/hosts/sigma/borg.nix new file mode 100644 index 0000000..4589195 --- /dev/null +++ b/hosts/sigma/borg.nix @@ -0,0 +1,14 @@ +{secrets, ...}: { + imports = [ + ../../modules/borg.nix + ]; + + services.borgbackup.jobs.root.repo = "ssh://u394155-sub3@u394155.your-storagebox.de:23/./root"; + + age.secrets.borg-passphrase-file = { + file = "${secrets}/secrets/borg-passphrase-file-sigma.age"; + mode = "400"; + owner = "root"; + group = "root"; + }; +} diff --git a/hosts/sigma/default.nix b/hosts/sigma/default.nix index 969053d..bbd590a 100644 --- a/hosts/sigma/default.nix +++ b/hosts/sigma/default.nix @@ -4,7 +4,7 @@ ../../modules/base ../../modules/server ./acme.nix - #./borg.nix TODO! + ./borg.nix ./caddy.nix ./gitea.nix ./hardware.nix