nixos/polkit: guard static gid for polkituser behind state version
This commit is contained in:
parent
5956e0866f
commit
2265160fc0
1 changed files with 3 additions and 1 deletions
|
@ -113,7 +113,9 @@ in
|
||||||
group = "polkituser";
|
group = "polkituser";
|
||||||
};
|
};
|
||||||
|
|
||||||
users.groups.polkituser.gid = config.ids.gids.polkituser;
|
users.groups.polkituser = {
|
||||||
|
gid = mkIf (lib.versionAtLeast config.system.stateVersion "23.05") config.ids.gids.polkituser;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue