summaryrefslogtreecommitdiff
path: root/modules/desktop/wms/xfce.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/wms/xfce.nix')
-rw-r--r--modules/desktop/wms/xfce.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules/desktop/wms/xfce.nix b/modules/desktop/wms/xfce.nix
new file mode 100644
index 0000000..0c62ee0
--- /dev/null
+++ b/modules/desktop/wms/xfce.nix
@@ -0,0 +1,37 @@
+{pkgs, config, lib, ...}:
+let
+ cfg = config.addons.desktop.xfce;
+in {
+
+ options.addons.desktop.xfce = {
+ enable = lib.mkEnableOption "Enable xfce";
+ };
+
+ config = lib.mkIf cfg.enable (lib.mkMerge [
+ (import ../../../utils/makeWm.nix "xfce" "x11" )
+ {
+ environment.systemPackages = with pkgs; [
+ # XFCE stuff
+ xfce.catfish
+ xfce.xfce4-appfinder
+ xfce.xfce4-clipman-plugin
+ xfce.xfce4-cpugraph-plugin
+ xfce.xfce4-dict
+ xfce.xfce4-fsguard-plugin
+ xfce.xfce4-genmon-plugin
+ xfce.xfce4-netload-plugin
+ xfce.xfce4-panel
+ xfce.xfce4-pulseaudio-plugin
+ xfce.xfce4-systemload-plugin
+ xfce.xfce4-weather-plugin
+ xfce.xfce4-whiskermenu-plugin
+ xfce.xfce4-xkb-plugin
+ xfce.xfdashboard
+
+ # GNOME stuff
+ file-roller
+ gnome-disk-utility
+ ];
+ services.xserver.desktopManager.xfce.enable = true;
+ }]);
+}