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:
Shea Levy 2011-07-23 18:46:16 +00:00
parent 5a2d438f24
commit e5dacbe6a8

View File

@ -50,7 +50,7 @@ in
services.ttyBackgrounds = {
enable = mkOption {
default = true;
default = splashutils != null;
description = ''
Whether to enable graphical backgrounds for the virtual consoles.
'';