From bd61f4dc2bb2949a46aabe168db4b1d5c716f351 Mon Sep 17 00:00:00 2001 From: Kevin Kandlbinder Date: Thu, 25 May 2023 15:52:18 +0200 Subject: [PATCH] Fix permissions --- nixos/modules/restic.nix | 3 +++ 1 file changed, 3 insertions(+) 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; }; };