mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 12:38:41 +03:00
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 = {
|
||||
|
||||
enable = mkOption {
|
||||
default = true;
|
||||
default = splashutils != null;
|
||||
description = ''
|
||||
Whether to enable graphical backgrounds for the virtual consoles.
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user