nixos: Remove inaccurate systemd stage 1 TODO comments (#521429)

This commit is contained in:
Will Fancher
2026-05-18 14:19:49 +00:00
committed by GitHub
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -1114,7 +1114,6 @@ in
-> all (dev: dev.preOpenCommands == "" && dev.postOpenCommands == "") (attrValues luks.devices);
message = "boot.initrd.luks.devices.<name>.preOpenCommands and postOpenCommands is not supported by systemd stage 1. Please bind a service to cryptsetup.target or cryptsetup-pre.target instead.";
}
# TODO
{
assertion = config.boot.initrd.systemd.enable -> !luks.gpgSupport;
message = systemdStage1HardwareKeyAssertionMessage "boot.initrd.luks.gpgSupport";
@@ -1123,7 +1122,6 @@ in
assertion = config.boot.initrd.systemd.enable -> !luks.fido2Support;
message = systemdStage1HardwareKeyAssertionMessage "boot.initrd.luks.fido2Support";
}
# TODO
{
assertion = config.boot.initrd.systemd.enable -> !luks.yubikeySupport;
message = systemdStage1HardwareKeyAssertionMessage "boot.initrd.luks.yubikeySupport";
@@ -119,7 +119,6 @@ in
);
forceLuksSupportInInitrd = true;
};
# TODO: systemd stage 1
postMountCommands = lib.mkIf (!config.boot.initrd.systemd.enable) (
concatMapStrings (
dev: