···
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
<title>XFCE Desktop Environment</title>
···
services.xserver.displayManager.kdm.enable = true;
50
+
<title>Thunar Volume Support</title>
54
+
<emphasis>Thunar</emphasis>
57
+
services.xserver.desktopManager.xfce.enable = true;
59
+
into your <emphasis>configuration.nix</emphasis>.
65
+
<title>Polkit Authentication Agent</title>
68
+
There is no authentication agent automatically installed alongside
69
+
XFCE. To allow mounting of local (non-removable) filesystems, you
70
+
will need to install one.
72
+
Installing <emphasis>polkit_gnome</emphasis>, a rebuild, logout and
73
+
login did the trick.
79
+
<title>Troubleshooting</title>
82
+
Even after enabling udisks2, volume management might not work.
83
+
Thunar and/or the desktop takes time to show up.
85
+
Thunar will spit out this kind of message on start
86
+
(look at journalctl --user -b).
89
+
Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
92
+
This is caused by some needed GNOME services not running.
93
+
This is all fixed by enabling "Launch GNOME services on startup" in
94
+
the Advanced tab of the Session and Startup settings panel.
95
+
Alternatively, you can run this command to do the same thing.
97
+
$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
99
+
A log-out and re-log will be needed for this to take effect.