|
80 | 80 | }; |
81 | 81 |
|
82 | 82 | config = mkIf cfg.enable { |
83 | | - environment.systemPackages = utils.removePackagesByName (with pkgs.xfce // pkgs; [ |
| 83 | + environment.systemPackages = utils.removePackagesByName (with pkgs; [ |
84 | 84 | glib # for gsettings |
85 | 85 | gtk3.out # gtk-update-icon-cache |
86 | 86 |
|
87 | 87 | gnome-themes-extra |
88 | 88 | adwaita-icon-theme |
89 | 89 | hicolor-icon-theme |
90 | 90 | tango-icon-theme |
91 | | - xfce4-icon-theme |
| 91 | + xfce.xfce4-icon-theme |
92 | 92 |
|
93 | 93 | desktop-file-utils |
94 | 94 | shared-mime-info # for update-mime-database |
|
99 | 99 | # Needed by Xfce's xinitrc script |
100 | 100 | xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ |
101 | 101 |
|
102 | | - exo |
103 | | - garcon |
104 | | - libxfce4ui |
105 | | - |
106 | | - mousepad |
107 | | - parole |
108 | | - ristretto |
109 | | - xfce4-appfinder |
110 | | - xfce4-notifyd |
111 | | - xfce4-screenshooter |
112 | | - xfce4-session |
113 | | - xfce4-settings |
114 | | - xfce4-taskmanager |
115 | | - xfce4-terminal |
| 102 | + xfce.exo |
| 103 | + xfce.garcon |
| 104 | + xfce.libxfce4ui |
| 105 | + |
| 106 | + xfce.mousepad |
| 107 | + xfce.parole |
| 108 | + xfce.ristretto |
| 109 | + xfce.xfce4-appfinder |
| 110 | + xfce.xfce4-notifyd |
| 111 | + xfce.xfce4-screenshooter |
| 112 | + xfce.xfce4-session |
| 113 | + xfce.xfce4-settings |
| 114 | + xfce.xfce4-taskmanager |
| 115 | + xfce.xfce4-terminal |
116 | 116 | ] # TODO: NetworkManager doesn't belong here |
117 | 117 | ++ optional config.networking.networkmanager.enable networkmanagerapplet |
118 | | - ++ optional config.powerManagement.enable xfce4-power-manager |
| 118 | + ++ optional config.powerManagement.enable xfce.xfce4-power-manager |
119 | 119 | ++ optionals (config.hardware.pulseaudio.enable || config.services.pipewire.pulse.enable) [ |
120 | 120 | pavucontrol |
121 | 121 | # volume up/down keys support: |
122 | 122 | # xfce4-pulseaudio-plugin includes all the functionalities of xfce4-volumed-pulse |
123 | 123 | # but can only be used with xfce4-panel, so for no-desktop usage we still include |
124 | 124 | # xfce4-volumed-pulse |
125 | | - (if cfg.noDesktop then xfce4-volumed-pulse else xfce4-pulseaudio-plugin) |
| 125 | + (if cfg.noDesktop then xfce.xfce4-volumed-pulse else xfce.xfce4-pulseaudio-plugin) |
126 | 126 | ] ++ optionals cfg.enableXfwm [ |
127 | | - xfwm4 |
128 | | - xfwm4-themes |
| 127 | + xfce.xfwm4 |
| 128 | + xfce.xfwm4-themes |
129 | 129 | ] ++ optionals (!cfg.noDesktop) [ |
130 | | - xfce4-panel |
131 | | - xfdesktop |
132 | | - ] ++ optional cfg.enableScreensaver xfce4-screensaver) excludePackages; |
| 130 | + xfce.xfce4-panel |
| 131 | + xfce.xfdesktop |
| 132 | + ] ++ optional cfg.enableScreensaver xfce.xfce4-screensaver) excludePackages; |
133 | 133 |
|
134 | 134 | programs.gnupg.agent.pinentryPackage = mkDefault pkgs.pinentry-gtk2; |
135 | 135 | programs.xfconf.enable = true; |
|
0 commit comments