* Enable upower and udisks for Xfce 4.8.

svn path=/nixos/trunk/; revision=28764
This commit is contained in:
Eelco Dolstra 2011-08-22 23:10:24 +00:00
parent 3b1c741f3f
commit 1aa1c86afc
2 changed files with 5 additions and 2 deletions

View File

@ -140,10 +140,10 @@ in
target = "X11/xkb";
};
# Enable required DBus services.
# Enable helpful DBus services.
services.hal = mkIf (!isKDE47) { enable = true; };
services.udisks = mkIf isKDE47 { enable = true; };
services.upower = mkIf isKDE47 { enable = true; };
services.upower = mkIf (isKDE47 && config.powerManagement.enable) { enable = true; };
};

View File

@ -80,7 +80,10 @@ in
environment.pathsToLink =
[ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories" ];
# Enable helpful DBus services.
services.hal = mkIf (!isXfce48) { enable = true; };
services.udisks = mkIf isXfce48 { enable = true; };
services.upower = mkIf (isXfce48 && config.powerManagement.enable) { enable = true; };
};