diff options
author | Winter <winter@winter.cafe> | 2023-02-25 22:26:28 -0500 |
---|---|---|
committer | Winter <winter@winter.cafe> | 2023-02-25 22:32:16 -0500 |
commit | ee6517a915424f7d7a07f6d1fddf8fd2f5b04a2c (patch) | |
tree | 3189edbb02ddc97f7ee4576069f6e335254d2ab7 /nixos/modules/security | |
parent | 15f1369b95d04a90fcb4ac1e5e59f2d2dfe154db (diff) |
Revert "nixos/polkit: guard static gid for polkituser behind state version"
This reverts commit 2265160fc0b4cc9a38b392ec3b3a3fe18c2e5413 and e56db577a1f69c02e80d8bc26d514c01a2c5cc61. Ideally, we shouldn't cause friction for users that bump `stateVersion`, and I'd consider having to switch and/or manually hardcode a UID/GID to supress the warning friction. I think it'd be more beneficial to, in this rare case of an ID being missed, just let it be until more discussion happens surrounding this overall issue. See https://github.com/NixOS/nixpkgs/pull/217785 for more context.
Diffstat (limited to 'nixos/modules/security')
-rw-r--r-- | nixos/modules/security/polkit.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/security/polkit.nix b/nixos/modules/security/polkit.nix index 1b65948022779..de427ccb295bb 100644 --- a/nixos/modules/security/polkit.nix +++ b/nixos/modules/security/polkit.nix @@ -113,9 +113,7 @@ in group = "polkituser"; }; - users.groups.polkituser = { - gid = mkIf (lib.versionAtLeast config.system.stateVersion "23.05") config.ids.gids.polkituser; - }; + users.groups.polkituser = {}; }; } |