systemd-stage-1: Default to full systemd build.

Changed files
+7 -20
nixos
modules
profiles
system
boot
pkgs
top-level
-2
nixos/modules/profiles/installation-device.nix
···
jq # for closureInfo
# For boot.initrd.systemd
makeInitrdNGTool
-
systemdStage1
-
systemdStage1Network
];
boot.swraid.enable = true;
-2
nixos/modules/system/boot/networkd.nix
···
(mkIf cfg.enable {
-
systemd.package = mkDefault pkgs.systemdStage1Network;
-
# For networkctl
systemd.dbus.enable = mkDefault true;
+7 -2
nixos/modules/system/boot/systemd/initrd.nix
···
'';
};
-
package = mkPackageOptionMD pkgs "systemd" {
-
default = "systemdStage1";
+
package = lib.mkOption {
+
type = lib.types.package;
+
default = config.systemd.package;
+
defaultText = lib.literalExpression "config.systemd.package";
+
description = ''
+
The systemd package to use.
+
'';
};
extraConfig = mkOption {
-14
pkgs/top-level/all-packages.nix
···
withUkify = false;
withBootloader = false;
-
systemdStage1 = systemdMinimal.override {
-
pname = "systemd-stage-1";
-
withAcl = true;
-
withCryptsetup = true;
-
withFido2 = true;
-
withKmod = true;
-
withTpm2Tss = true;
-
withRepart = true;
-
};
-
systemdStage1Network = systemdStage1.override {
-
pname = "systemd-stage-1-network";
-
withNetworkd = true;
-
withLibidn2 = true;
-
};
udev =