Merge pull request #264879 from nikstur/systemd-sysusers-staging

systemd: enable sysusers by default
This commit is contained in:
nikstur 2023-11-02 19:58:16 +01:00 committed by GitHub
commit 6e4099ca09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -124,7 +124,7 @@
, withRemote ? !stdenv.hostPlatform.isMusl
, withResolved ? true
, withShellCompletions ? true
, withSysusers ? false # conflicts with the NixOS user management
, withSysusers ? true
, withSysupdate ? true
, withTimedated ? true
, withTimesyncd ? true
@ -729,6 +729,8 @@ stdenv.mkDerivation (finalAttrs: {
rm -rf $out/share/doc
'' + lib.optionalString (withKmod && !buildLibsOnly) ''
mv $out/lib/modules-load.d $out/example
'' + lib.optionalString withSysusers ''
mv $out/lib/sysusers.d $out/example
'';
# Avoid *.EFI binary stripping. At least on aarch64-linux strip

View File

@ -28782,6 +28782,7 @@ with pkgs;
withResolved = false;
withShellCompletions = false;
withSysupdate = false;
withSysusers = false;
withTimedated = false;
withTimesyncd = false;
withTpm2Tss = false;