diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index a434932497d9..108ab5d4f318 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -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; diff --git a/nixos/modules/security/polkit.nix b/nixos/modules/security/polkit.nix index de427ccb295b..903bbbcab072 100644 --- a/nixos/modules/security/polkit.nix +++ b/nixos/modules/security/polkit.nix @@ -113,7 +113,7 @@ in group = "polkituser"; }; - users.groups.polkituser = {}; + users.groups.polkituser.gid = config.ids.gids.polkituser; }; }