Move base restic backup config into a restic module
This way its not duplicated in fieldseeker-sync
This commit is contained in:
parent
da0954e737
commit
fc936897c7
1 changed files with 19 additions and 0 deletions
19
modules/system/restic.nix
Normal file
19
modules/system/restic.nix
Normal file
|
|
@ -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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue