restic: rename user

the restic rest server module uses a restic user
This commit is contained in:
wo2wz 2025-11-22 18:16:51 -05:00
parent d8da0af6ac
commit 3899927ced
2 changed files with 6 additions and 6 deletions

View file

@ -3,17 +3,17 @@
{
# make wrapper to run restic rootless
users = {
users.restic = {
group = "restic";
users.restic-backup = {
group = "restic-backup";
isSystemUser = true;
};
groups.restic = {};
groups.restic-backup = {};
};
security.wrappers.restic = {
source = lib.getExe pkgs.restic;
owner = "restic";
group = "restic";
owner = "restic-backup";
group = "restic-backup";
permissions = "500";
capabilities = "cap_dac_read_search+ep";
};