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