diff --git a/nixos/modules/restic.nix b/nixos/modules/restic.nix index ef02957..2edcf78 100644 --- a/nixos/modules/restic.nix +++ b/nixos/modules/restic.nix @@ -29,6 +29,9 @@ }; "restic/backup.sh" = { source = ../../restic/backup.sh; + mode = "0500"; + user = config.users.users.restic.name; + group = config.users.users.restic.group; }; };