systemd: enable sysusers by default

This commit is contained in:
nikstur
2023-11-01 20:45:19 +01:00
parent eafaa27c7e
commit 3b92f76b54
2 changed files with 4 additions and 1 deletions
+3 -1
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
+1
View File
@@ -28780,6 +28780,7 @@ with pkgs;
withResolved = false;
withShellCompletions = false;
withSysupdate = false;
withSysusers = false;
withTimedated = false;
withTimesyncd = false;
withTpm2Tss = false;