nixos-systems/modules/system/restic.nix
Eli Ribble fc936897c7 Move base restic backup config into a restic module
This way its not duplicated in fieldseeker-sync
2025-10-08 20:35:33 +00:00

19 lines
376 B
Nix

{ 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;
};
}