Allow turning off VESA framebuffer
svn path=/nixos/trunk/; revision=19473
This commit is contained in:
parent
8d5037ad62
commit
6502806689
@ -47,6 +47,14 @@ let kernel = config.boot.kernelPackages.kernel; in
|
|||||||
description = "Additional user-defined kernel parameters.";
|
description = "Additional user-defined kernel parameters.";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.vesa = mkOption {
|
||||||
|
default = true;
|
||||||
|
example = false;
|
||||||
|
description = ''
|
||||||
|
Whether to activate VESA video mode on boot
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
boot.extraModulePackages = mkOption {
|
boot.extraModulePackages = mkOption {
|
||||||
default = [];
|
default = [];
|
||||||
# !!! example = [pkgs.aufs pkgs.nvidia_x11];
|
# !!! example = [pkgs.aufs pkgs.nvidia_x11];
|
||||||
@ -115,9 +123,8 @@ let kernel = config.boot.kernelPackages.kernel; in
|
|||||||
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
||||||
|
|
||||||
boot.kernelParams =
|
boot.kernelParams =
|
||||||
[ "splash=verbose"
|
[ "splash=verbose"] ++
|
||||||
"vga=0x317"
|
optional config.boot.vesa "vga=0x317";
|
||||||
];
|
|
||||||
|
|
||||||
boot.kernelModules = [ "loop" ];
|
boot.kernelModules = [ "loop" ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user