From fc936897c7f650e16e51aba80a1070526d49f912 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Wed, 8 Oct 2025 20:35:33 +0000 Subject: [PATCH] Move base restic backup config into a restic module This way its not duplicated in fieldseeker-sync --- modules/system/restic.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 modules/system/restic.nix diff --git a/modules/system/restic.nix b/modules/system/restic.nix new file mode 100644 index 0000000..0e60d04 --- /dev/null +++ b/modules/system/restic.nix @@ -0,0 +1,19 @@ +{ config, inputs, lib, pkgs, ... }: +{ + sops.secrets.restic-env = { + format = "yaml"; + key = "backblaze"; + group = "root"; + mode = "0440"; + owner = "root"; + sopsFile = ../../secrets/restic.yaml; + }; + sops.secrets.restic-password = { + format = "yaml"; + key = "password"; + group = "root"; + mode = "0440"; + owner = "root"; + sopsFile = ../../secrets/restic.yaml; + }; +}