* Enable upower and udisks for Xfce 4.8.
svn path=/nixos/trunk/; revision=28764
This commit is contained in:
parent
3b1c741f3f
commit
1aa1c86afc
@ -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; };
|
||||
|
||||
};
|
||||
|
||||
|
@ -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; };
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user