Create groups for users

This commit is contained in:
niten 2024-01-06 10:40:19 -08:00
parent cfbb9007a7
commit c628f544b9
1 changed files with 15 additions and 9 deletions

View File

@ -367,16 +367,22 @@ in {
};
};
users.users = {
lemmy-pictrs = {
isSystemUser = true;
uid = 986;
group = "lemmy-pictrs";
users = {
users = {
lemmy-pictrs = {
isSystemUser = true;
uid = 986;
group = "lemmy-pictrs";
};
lemmy-postgres = {
isSystemUser = true;
uid = 985;
group = "lemmy-postgres";
};
};
lemmy-postgres = {
isSystemUser = true;
uid = 985;
group = "lemmy-postgres";
groups = {
lemmy-pictrs = { members = [ "lemmy-pictrs" ]; };
lemmy-postgres = { members = [ "lemmy-postgres" ]; };
};
};