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

This reverts commits f5483464d5726d05b6169017e6b0f64ebccc2f53 and
6b9583e5e121b26468d880bdb65302a9172fc041.

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.

Changed files
+1 -4
nixos
modules
misc
system
boot
systemd
-1
nixos/modules/misc/ids.nix
···
#seeks = 148; # removed 2020-06-21
prosody = 149;
i2pd = 150;
-
systemd-coredump = 151;
systemd-network = 152;
systemd-resolve = 153;
systemd-timesync = 154;
+1 -3
nixos/modules/system/boot/systemd/coredump.nix
···
uid = config.ids.uids.systemd-coredump;
group = "systemd-coredump";
};
-
users.groups.systemd-coredump = {
-
gid = mkIf (lib.versionAtLeast config.system.stateVersion "23.05") config.ids.gids.systemd-coredump;
-
};
+
users.groups.systemd-coredump = {};
})
(mkIf (!cfg.enable) {