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:
parent
c2b389938b
commit
f4a871a401
1 changed files with 9 additions and 4 deletions
|
@ -25,9 +25,14 @@
|
|||
in
|
||||
lib.mkIf (config.boot.mode != null)
|
||||
{
|
||||
"efi" = efi-conf;
|
||||
"bios" = bios-conf;
|
||||
"secureboot" = throw "not yet implemented";
|
||||
efi = efi-conf;
|
||||
bios = bios-conf;
|
||||
secureboot = throw "not yet implemented";
|
||||
"" = {};
|
||||
}
|
||||
.${config.boot.mode};
|
||||
.${
|
||||
if config.boot.mode == null
|
||||
then ""
|
||||
else config.boot.mode
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue