Make the restic key readable by the restic user
This commit is contained in:
parent
44e1413012
commit
4b95485090
|
@ -3,7 +3,12 @@ let
|
|||
repository = "/var/lib/restic-server";
|
||||
in
|
||||
{
|
||||
age.secrets.resticKey.file = "${custom.inputs.self}/scrts/restic.key.age";
|
||||
age.secrets.resticKey = {
|
||||
file = "${custom.inputs.self}/scrts/restic.key.age";
|
||||
mode = "440";
|
||||
owner = "restic";
|
||||
group = "restic";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
restic
|
||||
|
|
Loading…
Reference in New Issue