Add group for lemmy-pictrs

This commit is contained in:
niten 2023-07-17 08:16:18 -07:00
parent b442f84b62
commit cf2de788c2
1 changed files with 4 additions and 1 deletions

View File

@ -270,7 +270,10 @@ in {
};
};
users.users.lemmy-pictrs.isSystemUser = true;
users.users.lemmy-pictrs = {
isSystemUser = true;
group = "lemmy-pictrs";
};
systemd.tmpfiles.rules =
[ "d ${cfg.state-directory}/pictrs 0700 lemmy-pictrs - - -" ];