0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/systemd-coredump: guard static gid for systemd-coredump behind state version

This commit is contained in:
Nick Cao 2023-02-23 09:32:19 +08:00
parent 2265160fc0
commit f5483464d5
No known key found for this signature in database

View file

@ -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;
};
})