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";
|
repository = "/var/lib/restic-server";
|
||||||
in
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
restic
|
restic
|
||||||
|
|
Loading…
Reference in New Issue
Block a user