Author: shlevy
Date: Sat Jul 23 18:46:16 2011
New Revision: 27911
URL: https://svn.nixos.org/websvn/nix/?rev=27911&sc=1

Log:
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.

Modified:
   nixos/trunk/modules/tasks/tty-backgrounds.nix

Modified: nixos/trunk/modules/tasks/tty-backgrounds.nix
==============================================================================
--- nixos/trunk/modules/tasks/tty-backgrounds.nix       Sat Jul 23 18:15:55 
2011        (r27910)
+++ nixos/trunk/modules/tasks/tty-backgrounds.nix       Sat Jul 23 18:46:16 
2011        (r27911)
@@ -50,7 +50,7 @@
     services.ttyBackgrounds = {
 
       enable = mkOption {
-        default = true;
+        default = splashutils != null;
         description = ''
           Whether to enable graphical backgrounds for the virtual consoles.
         '';
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to