* Remove most default kernel options since they have no effect. Also,
don't put them in a default, so that they can easily be added to. svn path=/nixos/trunk/; revision=19232
This commit is contained in:
parent
d6b52e7236
commit
9889d9f9f8
@ -28,14 +28,7 @@ let kernel = config.boot.kernelPackages.kernel; in
|
|||||||
};
|
};
|
||||||
|
|
||||||
boot.kernelParams = mkOption {
|
boot.kernelParams = mkOption {
|
||||||
default = [
|
default = [ ];
|
||||||
"selinux=0"
|
|
||||||
"apm=on"
|
|
||||||
"acpi=on"
|
|
||||||
"console=tty1"
|
|
||||||
"splash=verbose"
|
|
||||||
"vga=0x317"
|
|
||||||
];
|
|
||||||
description = ''
|
description = ''
|
||||||
The kernel parameters. If you want to add additional
|
The kernel parameters. If you want to add additional
|
||||||
parameters, it's best to set
|
parameters, it's best to set
|
||||||
@ -116,6 +109,11 @@ let kernel = config.boot.kernelPackages.kernel; in
|
|||||||
|
|
||||||
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
system.modulesTree = [ kernel ] ++ config.boot.extraModulePackages;
|
||||||
|
|
||||||
|
boot.kernelParams =
|
||||||
|
[ "splash=verbose"
|
||||||
|
"vga=0x317"
|
||||||
|
];
|
||||||
|
|
||||||
boot.kernelModules = [ "loop" ];
|
boot.kernelModules = [ "loop" ];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules =
|
boot.initrd.availableKernelModules =
|
||||||
|
@ -67,7 +67,6 @@
|
|||||||
useDefaultShell = true;
|
useDefaultShell = true;
|
||||||
password = "foobar";
|
password = "foobar";
|
||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.scrot ];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user