systemdMinimal: expose `withRepart` flag and disable it

systemd-repart relies on cryptsetup to perform LUKS operations,
therefore, it's not suitable for systemdMinimal.

authored by Raito Bezarius and committed by nikstur 18b50081 749e19a6

+4
+3
pkgs/os-specific/linux/systemd/default.nix
··· 92 92 , withCompression ? true # adds bzip2, lz4, xz and zstd 93 93 , withCoredump ? true 94 94 , withCryptsetup ? true 95 + , withRepart ? true 95 96 , withDocumentation ? true 96 97 , withEfi ? stdenv.hostPlatform.isEfi 97 98 , withFido2 ? true ··· 146 147 assert withHomed -> withCryptsetup; 147 148 assert withHomed -> withPam; 148 149 assert withUkify -> withEfi; 150 + assert withRepart -> withCryptsetup; 149 151 150 152 let 151 153 wantCurl = withRemote || withImportd; ··· 498 500 "-Dlibidn2=${lib.boolToString withLibidn2}" 499 501 "-Dfirstboot=${lib.boolToString withFirstboot}" 500 502 "-Dsysusers=${lib.boolToString withSysusers}" 503 + "-Drepart=${lib.boolToString withRepart}" 501 504 "-Dquotacheck=false" 502 505 "-Dldconfig=false" 503 506 "-Dsmack=true"
+1
pkgs/top-level/all-packages.nix
··· 28973 28973 withCompression = false; 28974 28974 withCoredump = false; 28975 28975 withCryptsetup = false; 28976 + withRepart = false; 28976 28977 withDocumentation = false; 28977 28978 withEfi = false; 28978 28979 withFido2 = false;