Skip to content

Commit

Permalink
Merge pull request #264879 from nikstur/systemd-sysusers-staging
Browse files Browse the repository at this point in the history
systemd: enable sysusers by default
  • Loading branch information
nikstur authored Nov 2, 2023
2 parents 5e4689f + 3b92f76 commit 6e4099c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28782,6 +28782,7 @@ with pkgs;
withResolved = false;
withShellCompletions = false;
withSysupdate = false;
withSysusers = false;
withTimedated = false;
withTimesyncd = false;
withTpm2Tss = false;
Expand Down

0 comments on commit 6e4099c

Please sign in to comment.