From e5dacbe6a84b86a4e8f2f005ef6ed906905a36cd Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Sat, 23 Jul 2011 18:46:16 +0000 Subject: [PATCH] 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 --- modules/tasks/tty-backgrounds.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/tasks/tty-backgrounds.nix b/modules/tasks/tty-backgrounds.nix index e64bc523945..265c7a57bf2 100644 --- a/modules/tasks/tty-backgrounds.nix +++ b/modules/tasks/tty-backgrounds.nix @@ -50,7 +50,7 @@ in services.ttyBackgrounds = { enable = mkOption { - default = true; + default = splashutils != null; description = '' Whether to enable graphical backgrounds for the virtual consoles. '';