1
1
Fork 1
mirror of https://github.com/oddlama/nixos-extra-modules.git synced 2025-10-10 22:00:39 +02:00

fix: type system shenanigans

This commit is contained in:
Patrick Großmann 2023-12-22 20:48:48 +01:00
parent c2b389938b
commit f4a871a401
No known key found for this signature in database
GPG key ID: 451F95EFB8BECD0F

View file

@ -25,9 +25,14 @@
in in
lib.mkIf (config.boot.mode != null) lib.mkIf (config.boot.mode != null)
{ {
"efi" = efi-conf; efi = efi-conf;
"bios" = bios-conf; bios = bios-conf;
"secureboot" = throw "not yet implemented"; secureboot = throw "not yet implemented";
"" = {};
} }
.${config.boot.mode}; .${
if config.boot.mode == null
then ""
else config.boot.mode
};
} }