nixos/systemd-stage-1: Use an own systemd package
We need more features than systemdMinimal but less than systemd so we need some own packages :/
This commit is contained in:
parent
9ae3813cda
commit
41d3ca0677
|
@ -150,7 +150,7 @@ in {
|
|||
'';
|
||||
|
||||
package = (mkPackageOption pkgs "systemd" {
|
||||
default = "systemdMinimal";
|
||||
default = "systemdStage1";
|
||||
}) // {
|
||||
visible = false;
|
||||
};
|
||||
|
|
|
@ -23370,6 +23370,17 @@ with pkgs;
|
|||
libfido2 = null;
|
||||
p11-kit = null;
|
||||
};
|
||||
systemdStage1 = systemdMinimal.override {
|
||||
pname = "systemd-stage-1";
|
||||
withCryptsetup = true;
|
||||
withFido2 = true;
|
||||
withTpm2Tss = true;
|
||||
inherit lvm2 libfido2 p11-kit;
|
||||
};
|
||||
systemdStage1Network = systemdStage1.override {
|
||||
pname = "systemd-stage-1-network";
|
||||
withNetworkd = true;
|
||||
};
|
||||
|
||||
|
||||
udev = systemd; # TODO: change to systemdMinimal
|
||||
|
|
Loading…
Reference in a new issue