mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Boot] formatting improvements
This commit is contained in:
parent
0088bd9cbf
commit
7bf56dc7ac
1 changed files with 5 additions and 4 deletions
9
boot.nix
9
boot.nix
|
|
@ -141,9 +141,9 @@ in {
|
|||
example = cfg.efi;
|
||||
type = types.bool;
|
||||
};
|
||||
x32abi = {
|
||||
enable = mkEnableOption "X32 kernel ABI";
|
||||
};
|
||||
|
||||
|
||||
x32abi.enable = mkEnableOption "X32 kernel ABI";
|
||||
kvdo.enable = mkEnableOption "dm-kvdo kernel module";
|
||||
rtGroupSched.enable = mkEnableOption "RT cgroups";
|
||||
energyModel.enable = mkEnableOption "Energy Model";
|
||||
|
|
@ -158,6 +158,7 @@ in {
|
|||
example = true;
|
||||
type = with types; bool;
|
||||
};
|
||||
|
||||
legacy = mkOption rec {
|
||||
description = "Use legacy bootloader";
|
||||
default = !cfg.efi;
|
||||
|
|
@ -176,7 +177,7 @@ in {
|
|||
description = "Kernel params as attributes (instead of list)";
|
||||
default = { };
|
||||
example = { "i915.fastboot" = true; };
|
||||
type = types.attrsOf (types.oneOf [ types.bool types.int types.str (types.listOf types.str) ]);
|
||||
type = with types; attrsOf (oneOf [ bool int str (listOf str) ]);
|
||||
};
|
||||
|
||||
kernel = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue