Only turn ttyBackgrounds on by default when the kernel has splashutils
This way users won't need to add ttyBackgrounds.enable = false when upgrading to a new kernel, and if the kernel gets splashutils in the future ttyBackgrounds will be enabled automatically. svn path=/nixos/trunk/; revision=27911
This commit is contained in:
parent
5a2d438f24
commit
e5dacbe6a8
@ -50,7 +50,7 @@ in
|
|||||||
services.ttyBackgrounds = {
|
services.ttyBackgrounds = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
default = true;
|
default = splashutils != null;
|
||||||
description = ''
|
description = ''
|
||||||
Whether to enable graphical backgrounds for the virtual consoles.
|
Whether to enable graphical backgrounds for the virtual consoles.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user