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