blob: a8ffe667a6c9c4d9ced65860009035cd8d1b5a74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
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
catfish
xfce4-appfinder
xfce4-clipman-plugin
xfce4-cpugraph-plugin
xfce4-dict
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-netload-plugin
xfce4-panel
xfce4-pulseaudio-plugin
xfce4-systemload-plugin
xfce4-weather-plugin
xfce4-whiskermenu-plugin
xfce4-xkb-plugin
xfdashboard
# GNOME stuff
file-roller
gnome-disk-utility
];
services.xserver.desktopManager.xfce.enable = true;
}
]
);
}
|