* Xfce 4.8 doesn't need HAL anymore.

svn path=/nixos/trunk/; revision=28762
This commit is contained in:
Eelco Dolstra 2011-08-22 22:52:13 +00:00
parent ecbfe0d9c0
commit 3b1c741f3f

View File

@ -7,6 +7,8 @@ let
xcfg = config.services.xserver;
cfg = xcfg.desktopManager.xfce;
isXfce48 = pkgs.xfce ? libxfce4ui;
in
{
@ -69,12 +71,16 @@ in
pkgs.gnome.gnomeicontheme
pkgs.desktop_file_utils
]
++ optionals isXfce48 [
pkgs.xfce.libxfce4ui
pkgs.xfce.garcon
]
++ optional config.powerManagement.enable pkgs.xfce.xfce4_power_manager;
environment.pathsToLink =
[ "/share/xfce4" "/share/themes" "/share/mime" ];
[ "/share/xfce4" "/share/themes" "/share/mime" "/share/desktop-directories" ];
services.hal.enable = true;
services.hal = mkIf (!isXfce48) { enable = true; };
};