nixos/polkit: set static gid for polkituser

polkituser needs a group since https://github.com/NixOS/nixpkgs/pull/130522.
This commit is contained in:
1sixth 2023-02-17 20:42:13 +08:00
parent 98042fc6d3
commit e56db577a1
No known key found for this signature in database
GPG Key ID: 55A1774C8F50733A
2 changed files with 2 additions and 2 deletions

View File

@ -392,7 +392,7 @@ in
tape = 25;
video = 26;
dialout = 27;
#polkituser = 28; # currently unused, polkitd doesn't need a group
polkituser = 28;
utmp = 29;
# ddclient = 30; # converted to DynamicUser = true
davfs2 = 31;

View File

@ -113,7 +113,7 @@ in
group = "polkituser";
};
users.groups.polkituser = {};
users.groups.polkituser.gid = config.ids.gids.polkituser;
};
}