systemd: make systemd-sysupdate optional via withSysupdate

Disable it in `systemdMinimal`
This commit is contained in:
Raito Bezarius 2023-07-28 20:47:12 +02:00 committed by nikstur
parent 1ea060a2b8
commit 2696e44c42
2 changed files with 3 additions and 0 deletions

View file

@ -125,6 +125,7 @@
, withResolved ? true
, withShellCompletions ? true
, withSysusers ? false # conflicts with the NixOS user management
, withSysupdate ? true
, withTimedated ? true
, withTimesyncd ? true
, withTpm2Tss ? true
@ -497,6 +498,7 @@ stdenv.mkDerivation (finalAttrs: {
"-Dfirstboot=${lib.boolToString withFirstboot}"
"-Dsysusers=${lib.boolToString withSysusers}"
"-Drepart=${lib.boolToString withRepart}"
"-Dsysupdate=${lib.boolToString withSysupdate}"
"-Dquotacheck=false"
"-Dldconfig=false"
"-Dsmack=true"

View file

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