49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<chapter xmlns="http://docbook.org/ns/docbook"
|
||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||
version="5.0"
|
||
xml:id="sec-x11">
|
||
|
||
<title>XFCE Desktop Environment</title>
|
||
|
||
<para>
|
||
To enable the XFCE Desktop Environment, set
|
||
<programlisting>
|
||
services.xserver.desktopManager = {
|
||
xfce.enable = true;
|
||
default = "xfce";
|
||
};
|
||
</programlisting>
|
||
</para>
|
||
|
||
<para>
|
||
Optionally, <emphasis>compton</emphasis>
|
||
can be enabled for nice graphical effects, some example settings:
|
||
<programlisting>
|
||
services.compton = {
|
||
enable = true;
|
||
fade = true;
|
||
inactiveOpacity = "0.9";
|
||
shadow = true;
|
||
fadeDelta = 4;
|
||
};
|
||
</programlisting>
|
||
</para>
|
||
|
||
<para>
|
||
XFCE programs are not installed automatically.
|
||
To install them manually (system wide), put them into your
|
||
<literal>environment.systemPackages</literal>-
|
||
<para>
|
||
|
||
<para>
|
||
NixOS’s default <emphasis>display manager</emphasis> (the
|
||
program that provides a graphical login prompt and manages the X
|
||
server) is SLiM. You can, for example, select KDE’s
|
||
<command>kdm</command> instead:
|
||
<programlisting>
|
||
services.xserver.displayManager.kdm.enable = true;
|
||
</programlisting>
|
||
</para>
|
||
|
||
</chapter>
|