···11+# GNOME Desktop {#chap-gnome}
22+33+GNOME provides a simple, yet full-featured desktop environment with a focus on productivity. Its Mutter compositor supports both Wayland and X server, and the GNOME Shell user interface is fully customizable by extensions.
44+55+## Enabling GNOME {#sec-gnome-enable}
66+77+All of the core apps, optional apps, games, and core developer tools from GNOME are available.
88+99+To enable the GNOME desktop use:
1010+1111+```
1212+services.xserver.desktopManager.gnome.enable = true;
1313+services.xserver.displayManager.gdm.enable = true;
1414+```
1515+1616+::: {.note}
1717+While it is not strictly necessary to use GDM as the display manager with GNOME, it is recommended, as some features such as screen lock [might not work](#sec-gnome-faq-can-i-use-lightdm-with-gnome) without it.
1818+:::
1919+2020+The default applications used in NixOS are very minimal, inspired by the defaults used in [gnome-build-meta](https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/40.0/elements/core/meta-gnome-core-utilities.bst).
2121+2222+### GNOME without the apps {#sec-gnome-without-the-apps}
2323+2424+If you’d like to only use the GNOME desktop and not the apps, you can disable them with:
2525+2626+```
2727+services.gnome.core-utilities.enable = false;
2828+```
2929+3030+and none of them will be installed.
3131+3232+If you’d only like to omit a subset of the core utilities, you can use
3333+[](#opt-environment.gnome.excludePackages).
3434+Note that this mechanism can only exclude core utilities, games and core developer tools.
3535+3636+### Disabling GNOME services {#sec-gnome-disabling-services}
3737+3838+It is also possible to disable many of the [core services](https://github.com/NixOS/nixpkgs/blob/b8ec4fd2a4edc4e30d02ba7b1a2cc1358f3db1d5/nixos/modules/services/x11/desktop-managers/gnome.nix#L329-L348). For example, if you do not need indexing files, you can disable Tracker with:
3939+4040+```
4141+services.gnome.tracker-miners.enable = false;
4242+services.gnome.tracker.enable = false;
4343+```
4444+4545+Note, however, that doing so is not supported and might break some applications. Notably, GNOME Music cannot work without Tracker.
4646+4747+### GNOME games {#sec-gnome-games}
4848+4949+You can install all of the GNOME games with:
5050+5151+```
5252+services.gnome.games.enable = true;
5353+```
5454+5555+### GNOME core developer tools {#sec-gnome-core-developer-tools}
5656+5757+You can install GNOME core developer tools with:
5858+5959+```
6060+services.gnome.core-developer-tools.enable = true;
6161+```
6262+6363+## Enabling GNOME Flashback {#sec-gnome-enable-flashback}
6464+6565+GNOME Flashback provides a desktop environment based on the classic GNOME 2 architecture. You can enable the default GNOME Flashback session, which uses the Metacity window manager, with:
6666+6767+```
6868+services.xserver.desktopManager.gnome.flashback.enableMetacity = true;
6969+```
7070+7171+It is also possible to create custom sessions that replace Metacity with a different window manager using [](#opt-services.xserver.desktopManager.gnome.flashback.customSessions).
7272+7373+The following example uses `xmonad` window manager:
7474+7575+```
7676+services.xserver.desktopManager.gnome.flashback.customSessions = [
7777+ {
7878+ wmName = "xmonad";
7979+ wmLabel = "XMonad";
8080+ wmCommand = "${pkgs.haskellPackages.xmonad}/bin/xmonad";
8181+ enableGnomePanel = false;
8282+ }
8383+];
8484+```
8585+8686+## Icons and GTK Themes {#sec-gnome-icons-and-gtk-themes}
8787+8888+Icon themes and GTK themes don’t require any special option to install in NixOS.
8989+9090+You can add them to [](#opt-environment.systemPackages) and switch to them with GNOME Tweaks.
9191+If you’d like to do this manually in dconf, change the values of the following keys:
9292+9393+```
9494+/org/gnome/desktop/interface/gtk-theme
9595+/org/gnome/desktop/interface/icon-theme
9696+```
9797+9898+in `dconf-editor`
9999+100100+## Shell Extensions {#sec-gnome-shell-extensions}
101101+102102+Most Shell extensions are packaged under the `gnomeExtensions` attribute.
103103+Some packages that include Shell extensions, like `gnome.gpaste`, don’t have their extension decoupled under this attribute.
104104+105105+You can install them like any other package:
106106+107107+```
108108+environment.systemPackages = [
109109+ gnomeExtensions.dash-to-dock
110110+ gnomeExtensions.gsconnect
111111+ gnomeExtensions.mpris-indicator-button
112112+];
113113+```
114114+115115+Unfortunately, we lack a way for these to be managed in a completely declarative way.
116116+So you have to enable them manually with an Extensions application.
117117+It is possible to use a [GSettings override](#sec-gnome-gsettings-overrides) for this on `org.gnome.shell.enabled-extensions`, but that will only influence the default value.
118118+119119+## GSettings Overrides {#sec-gnome-gsettings-overrides}
120120+121121+Majority of software building on the GNOME platform use GLib’s [GSettings](https://developer.gnome.org/gio/unstable/GSettings.html) system to manage runtime configuration. For our purposes, the system consists of XML schemas describing the individual configuration options, stored in the package, and a settings backend, where the values of the settings are stored. On NixOS, like on most Linux distributions, dconf database is used as the backend.
122122+123123+[GSettings vendor overrides](https://developer.gnome.org/gio/unstable/GSettings.html#id-1.4.19.2.9.25) can be used to adjust the default values for settings of the GNOME desktop and apps by replacing the default values specified in the XML schemas. Using overrides will allow you to pre-seed user settings before you even start the session.
124124+125125+::: {.warning}
126126+Overrides really only change the default values for GSettings keys so if you or an application changes the setting value, the value set by the override will be ignored. Until [NixOS’s dconf module implements changing values](https://github.com/NixOS/nixpkgs/issues/54150), you will either need to keep that in mind and clear the setting from the backend using `dconf reset` command when that happens, or use the [module from home-manager](https://nix-community.github.io/home-manager/options.html#opt-dconf.settings).
127127+:::
128128+129129+You can override the default GSettings values using the
130130+[](#opt-services.xserver.desktopManager.gnome.extraGSettingsOverrides) option.
131131+132132+Take note that whatever packages you want to override GSettings for, you need to add them to
133133+[](#opt-services.xserver.desktopManager.gnome.extraGSettingsOverridePackages).
134134+135135+You can use `dconf-editor` tool to explore which GSettings you can set.
136136+137137+### Example {#sec-gnome-gsettings-overrides-example}
138138+139139+```
140140+services.xserver.desktopManager.gnome = {
141141+ extraGSettingsOverrides = ''
142142+ # Change default background
143143+ [org.gnome.desktop.background]
144144+ picture-uri='file://${pkgs.nixos-artwork.wallpapers.mosaic-blue.gnomeFilePath}'
145145+146146+ # Favorite apps in gnome-shell
147147+ [org.gnome.shell]
148148+ favorite-apps=['org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop']
149149+ '';
150150+151151+ extraGSettingsOverridePackages = [
152152+ pkgs.gsettings-desktop-schemas # for org.gnome.desktop
153153+ pkgs.gnome.gnome-shell # for org.gnome.shell
154154+ ];
155155+};
156156+```
157157+158158+## Frequently Asked Questions {#sec-gnome-faq}
159159+160160+### Can I use LightDM with GNOME? {#sec-gnome-faq-can-i-use-lightdm-with-gnome}
161161+162162+Yes you can, and any other display-manager in NixOS.
163163+164164+However, it doesn’t work correctly for the Wayland session of GNOME Shell yet, and
165165+won’t be able to lock your screen.
166166+167167+See [this issue.](https://github.com/NixOS/nixpkgs/issues/56342)
···11-<chapter xmlns="http://docbook.org/ns/docbook"
22- xmlns:xlink="http://www.w3.org/1999/xlink"
33- xml:id="chap-gnome">
44- <title>GNOME Desktop</title>
55- <para>
66- GNOME provides a simple, yet full-featured desktop environment with a focus on productivity. Its Mutter compositor supports both Wayland and X server, and the GNOME Shell user interface is fully customizable by extensions.
77- </para>
88-99- <section xml:id="sec-gnome-enable">
1010- <title>Enabling GNOME</title>
1111-11+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-gnome">
22+ <title>GNOME Desktop</title>
123 <para>
1313- All of the core apps, optional apps, games, and core developer tools from GNOME are available.
44+ GNOME provides a simple, yet full-featured desktop environment with
55+ a focus on productivity. Its Mutter compositor supports both Wayland
66+ and X server, and the GNOME Shell user interface is fully
77+ customizable by extensions.
148 </para>
1515-1616- <para>
1717- To enable the GNOME desktop use:
1818- </para>
1919-2020-<programlisting>
99+ <section xml:id="sec-gnome-enable">
1010+ <title>Enabling GNOME</title>
1111+ <para>
1212+ All of the core apps, optional apps, games, and core developer
1313+ tools from GNOME are available.
1414+ </para>
1515+ <para>
1616+ To enable the GNOME desktop use:
1717+ </para>
1818+ <programlisting>
2119services.xserver.desktopManager.gnome.enable = true;
2220services.xserver.displayManager.gdm.enable = true;
2321</programlisting>
2424-2525- <note>
2626- <para>
2727- While it is not strictly necessary to use GDM as the display manager with GNOME, it is recommended, as some features such as screen lock <link xlink:href="#sec-gnome-faq-can-i-use-lightdm-with-gnome">might not work</link> without it.
2828- </para>
2929- </note>
3030-3131- <para>
3232- The default applications used in NixOS are very minimal, inspired by the defaults used in <link xlink:href="https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/40.0/elements/core/meta-gnome-core-utilities.bst">gnome-build-meta</link>.
3333- </para>
3434-3535- <section xml:id="sec-gnome-without-the-apps">
3636- <title>GNOME without the apps</title>
3737-3838- <para>
3939- If you’d like to only use the GNOME desktop and not the apps, you can disable them with:
4040- </para>
4141-4242-<programlisting>
2222+ <note>
2323+ <para>
2424+ While it is not strictly necessary to use GDM as the display
2525+ manager with GNOME, it is recommended, as some features such as
2626+ screen lock
2727+ <link linkend="sec-gnome-faq-can-i-use-lightdm-with-gnome">might
2828+ not work</link> without it.
2929+ </para>
3030+ </note>
3131+ <para>
3232+ The default applications used in NixOS are very minimal, inspired
3333+ by the defaults used in
3434+ <link xlink:href="https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/40.0/elements/core/meta-gnome-core-utilities.bst">gnome-build-meta</link>.
3535+ </para>
3636+ <section xml:id="sec-gnome-without-the-apps">
3737+ <title>GNOME without the apps</title>
3838+ <para>
3939+ If you’d like to only use the GNOME desktop and not the apps,
4040+ you can disable them with:
4141+ </para>
4242+ <programlisting>
4343services.gnome.core-utilities.enable = false;
4444</programlisting>
4545-4646- <para>
4747- and none of them will be installed.
4848- </para>
4949-5050- <para>
5151- If you’d only like to omit a subset of the core utilities, you can use <xref linkend="opt-environment.gnome.excludePackages"/>.
5252- Note that this mechanism can only exclude core utilities, games and core developer tools.
5353- </para>
5454- </section>
5555-5656- <section xml:id="sec-gnome-disabling-services">
5757- <title>Disabling GNOME services</title>
5858-5959- <para>
6060- It is also possible to disable many of the <link xlink:href="https://github.com/NixOS/nixpkgs/blob/b8ec4fd2a4edc4e30d02ba7b1a2cc1358f3db1d5/nixos/modules/services/x11/desktop-managers/gnome.nix#L329-L348">core services</link>. For example, if you do not need indexing files, you can disable Tracker with:
6161- </para>
6262-6363-<programlisting>
4545+ <para>
4646+ and none of them will be installed.
4747+ </para>
4848+ <para>
4949+ If you’d only like to omit a subset of the core utilities, you
5050+ can use
5151+ <xref linkend="opt-environment.gnome.excludePackages"></xref>.
5252+ Note that this mechanism can only exclude core utilities, games
5353+ and core developer tools.
5454+ </para>
5555+ </section>
5656+ <section xml:id="sec-gnome-disabling-services">
5757+ <title>Disabling GNOME services</title>
5858+ <para>
5959+ It is also possible to disable many of the
6060+ <link xlink:href="https://github.com/NixOS/nixpkgs/blob/b8ec4fd2a4edc4e30d02ba7b1a2cc1358f3db1d5/nixos/modules/services/x11/desktop-managers/gnome.nix#L329-L348">core
6161+ services</link>. For example, if you do not need indexing files,
6262+ you can disable Tracker with:
6363+ </para>
6464+ <programlisting>
6465services.gnome.tracker-miners.enable = false;
6566services.gnome.tracker.enable = false;
6667</programlisting>
6767-6868- <para>
6969- Note, however, that doing so is not supported and might break some applications. Notably, GNOME Music cannot work without Tracker.
7070- </para>
7171- </section>
7272-7373- <section xml:id="sec-gnome-games">
7474- <title>GNOME games</title>
7575-7676- <para>
7777- You can install all of the GNOME games with:
7878- </para>
7979-8080-<programlisting>
6868+ <para>
6969+ Note, however, that doing so is not supported and might break
7070+ some applications. Notably, GNOME Music cannot work without
7171+ Tracker.
7272+ </para>
7373+ </section>
7474+ <section xml:id="sec-gnome-games">
7575+ <title>GNOME games</title>
7676+ <para>
7777+ You can install all of the GNOME games with:
7878+ </para>
7979+ <programlisting>
8180services.gnome.games.enable = true;
8281</programlisting>
8383- </section>
8484-8585- <section xml:id="sec-gnome-core-developer-tools">
8686- <title>GNOME core developer tools</title>
8787-8888- <para>
8989- You can install GNOME core developer tools with:
9090- </para>
9191-9292-<programlisting>
8282+ </section>
8383+ <section xml:id="sec-gnome-core-developer-tools">
8484+ <title>GNOME core developer tools</title>
8585+ <para>
8686+ You can install GNOME core developer tools with:
8787+ </para>
8888+ <programlisting>
9389services.gnome.core-developer-tools.enable = true;
9490</programlisting>
9191+ </section>
9592 </section>
9696- </section>
9797-9898- <section xml:id="sec-gnome-enable-flashback">
9999- <title>Enabling GNOME Flashback</title>
100100-101101- <para>
102102- GNOME Flashback provides a desktop environment based on the classic GNOME 2 architecture. You can enable the default GNOME Flashback session, which uses the Metacity window manager, with:
103103- </para>
104104-105105-<programlisting>
9393+ <section xml:id="sec-gnome-enable-flashback">
9494+ <title>Enabling GNOME Flashback</title>
9595+ <para>
9696+ GNOME Flashback provides a desktop environment based on the
9797+ classic GNOME 2 architecture. You can enable the default GNOME
9898+ Flashback session, which uses the Metacity window manager, with:
9999+ </para>
100100+ <programlisting>
106101services.xserver.desktopManager.gnome.flashback.enableMetacity = true;
107102</programlisting>
108108-109109- <para>
110110- It is also possible to create custom sessions that replace Metacity with a different window manager using <xref linkend="opt-services.xserver.desktopManager.gnome.flashback.customSessions"/>.
111111- </para>
112112-113113- <para>
114114- The following example uses <literal>xmonad</literal> window manager:
115115- </para>
116116-117117-<programlisting>
103103+ <para>
104104+ It is also possible to create custom sessions that replace
105105+ Metacity with a different window manager using
106106+ <xref linkend="opt-services.xserver.desktopManager.gnome.flashback.customSessions"></xref>.
107107+ </para>
108108+ <para>
109109+ The following example uses <literal>xmonad</literal> window
110110+ manager:
111111+ </para>
112112+ <programlisting>
118113services.xserver.desktopManager.gnome.flashback.customSessions = [
119114 {
120120- wmName = "xmonad";
121121- wmLabel = "XMonad";
122122- wmCommand = "${pkgs.haskellPackages.xmonad}/bin/xmonad";
115115+ wmName = "xmonad";
116116+ wmLabel = "XMonad";
117117+ wmCommand = "${pkgs.haskellPackages.xmonad}/bin/xmonad";
123118 enableGnomePanel = false;
124119 }
125120];
126121</programlisting>
127127-128128- </section>
129129-130130- <section xml:id="sec-gnome-icons-and-gtk-themes">
131131- <title>Icons and GTK Themes</title>
132132-133133- <para>
134134- Icon themes and GTK themes don’t require any special option to install in NixOS.
135135- </para>
136136-137137- <para>
138138- You can add them to <xref linkend="opt-environment.systemPackages"/> and switch to them with GNOME Tweaks.
139139- If you’d like to do this manually in dconf, change the values of the following keys:
140140- </para>
141141-142142-<programlisting>
122122+ </section>
123123+ <section xml:id="sec-gnome-icons-and-gtk-themes">
124124+ <title>Icons and GTK Themes</title>
125125+ <para>
126126+ Icon themes and GTK themes don’t require any special option to
127127+ install in NixOS.
128128+ </para>
129129+ <para>
130130+ You can add them to
131131+ <xref linkend="opt-environment.systemPackages"></xref> and switch
132132+ to them with GNOME Tweaks. If you’d like to do this manually in
133133+ dconf, change the values of the following keys:
134134+ </para>
135135+ <programlisting>
143136/org/gnome/desktop/interface/gtk-theme
144137/org/gnome/desktop/interface/icon-theme
145138</programlisting>
146146-147147- <para>
148148- in <literal>dconf-editor</literal>
149149- </para>
150150- </section>
151151-152152- <section xml:id="sec-gnome-shell-extensions">
153153- <title>Shell Extensions</title>
154154-155155- <para>
156156- Most Shell extensions are packaged under the <literal>gnomeExtensions</literal> attribute.
157157- Some packages that include Shell extensions, like <literal>gnome.gpaste</literal>, don’t have their extension decoupled under this attribute.
158158- </para>
159159-160160- <para>
161161- You can install them like any other package:
162162- </para>
163163-164164-<programlisting>
139139+ <para>
140140+ in <literal>dconf-editor</literal>
141141+ </para>
142142+ </section>
143143+ <section xml:id="sec-gnome-shell-extensions">
144144+ <title>Shell Extensions</title>
145145+ <para>
146146+ Most Shell extensions are packaged under the
147147+ <literal>gnomeExtensions</literal> attribute. Some packages that
148148+ include Shell extensions, like <literal>gnome.gpaste</literal>,
149149+ don’t have their extension decoupled under this attribute.
150150+ </para>
151151+ <para>
152152+ You can install them like any other package:
153153+ </para>
154154+ <programlisting>
165155environment.systemPackages = [
166156 gnomeExtensions.dash-to-dock
167157 gnomeExtensions.gsconnect
168158 gnomeExtensions.mpris-indicator-button
169159];
170160</programlisting>
171171-172172- <para>
173173- Unfortunately, we lack a way for these to be managed in a completely declarative way.
174174- So you have to enable them manually with an Extensions application.
175175- It is possible to use a <link xlink:href="#sec-gnome-gsettings-overrides">GSettings override</link> for this on <literal>org.gnome.shell.enabled-extensions</literal>, but that will only influence the default value.
176176- </para>
177177- </section>
178178-179179- <section xml:id="sec-gnome-gsettings-overrides">
180180- <title>GSettings Overrides</title>
181181-182182- <para>
183183- Majority of software building on the GNOME platform use GLib’s <link xlink:href="https://developer.gnome.org/gio/unstable/GSettings.html">GSettings</link> system to manage runtime configuration. For our purposes, the system consists of XML schemas describing the individual configuration options, stored in the package, and a settings backend, where the values of the settings are stored. On NixOS, like on most Linux distributions, dconf database is used as the backend.
184184- </para>
185185-186186- <para>
187187- <link xlink:href="https://developer.gnome.org/gio/unstable/GSettings.html#id-1.4.19.2.9.25">GSettings vendor overrides</link> can be used to adjust the default values for settings of the GNOME desktop and apps by replacing the default values specified in the XML schemas. Using overrides will allow you to pre-seed user settings before you even start the session.
188188- </para>
189189-190190- <warning>
191191- <para>
192192- Overrides really only change the default values for GSettings keys so if you or an application changes the setting value, the value set by the override will be ignored. Until <link xlink:href="https://github.com/NixOS/nixpkgs/issues/54150">NixOS’s dconf module implements changing values</link>, you will either need to keep that in mind and clear the setting from the backend using <literal>dconf reset</literal> command when that happens, or use the <link xlink:href="https://nix-community.github.io/home-manager/options.html#opt-dconf.settings">module from home-manager</link>.
193193- </para>
194194- </warning>
195195-196196- <para>
197197- You can override the default GSettings values using the <xref linkend="opt-services.xserver.desktopManager.gnome.extraGSettingsOverrides"/> option.
198198- </para>
199199-200200- <para>
201201- Take note that whatever packages you want to override GSettings for, you need to add them to
202202- <xref linkend="opt-services.xserver.desktopManager.gnome.extraGSettingsOverridePackages"/>.
203203- </para>
204204-205205- <para>
206206- You can use <literal>dconf-editor</literal> tool to explore which GSettings you can set.
207207- </para>
208208-209209- <section xml:id="sec-gnome-gsettings-overrides-example">
210210- <title>Example</title>
211211-212212-<programlisting>
161161+ <para>
162162+ Unfortunately, we lack a way for these to be managed in a
163163+ completely declarative way. So you have to enable them manually
164164+ with an Extensions application. It is possible to use a
165165+ <link linkend="sec-gnome-gsettings-overrides">GSettings
166166+ override</link> for this on
167167+ <literal>org.gnome.shell.enabled-extensions</literal>, but that
168168+ will only influence the default value.
169169+ </para>
170170+ </section>
171171+ <section xml:id="sec-gnome-gsettings-overrides">
172172+ <title>GSettings Overrides</title>
173173+ <para>
174174+ Majority of software building on the GNOME platform use GLib’s
175175+ <link xlink:href="https://developer.gnome.org/gio/unstable/GSettings.html">GSettings</link>
176176+ system to manage runtime configuration. For our purposes, the
177177+ system consists of XML schemas describing the individual
178178+ configuration options, stored in the package, and a settings
179179+ backend, where the values of the settings are stored. On NixOS,
180180+ like on most Linux distributions, dconf database is used as the
181181+ backend.
182182+ </para>
183183+ <para>
184184+ <link xlink:href="https://developer.gnome.org/gio/unstable/GSettings.html#id-1.4.19.2.9.25">GSettings
185185+ vendor overrides</link> can be used to adjust the default values
186186+ for settings of the GNOME desktop and apps by replacing the
187187+ default values specified in the XML schemas. Using overrides will
188188+ allow you to pre-seed user settings before you even start the
189189+ session.
190190+ </para>
191191+ <warning>
192192+ <para>
193193+ Overrides really only change the default values for GSettings
194194+ keys so if you or an application changes the setting value, the
195195+ value set by the override will be ignored. Until
196196+ <link xlink:href="https://github.com/NixOS/nixpkgs/issues/54150">NixOS’s
197197+ dconf module implements changing values</link>, you will either
198198+ need to keep that in mind and clear the setting from the backend
199199+ using <literal>dconf reset</literal> command when that happens,
200200+ or use the
201201+ <link xlink:href="https://nix-community.github.io/home-manager/options.html#opt-dconf.settings">module
202202+ from home-manager</link>.
203203+ </para>
204204+ </warning>
205205+ <para>
206206+ You can override the default GSettings values using the
207207+ <xref linkend="opt-services.xserver.desktopManager.gnome.extraGSettingsOverrides"></xref>
208208+ option.
209209+ </para>
210210+ <para>
211211+ Take note that whatever packages you want to override GSettings
212212+ for, you need to add them to
213213+ <xref linkend="opt-services.xserver.desktopManager.gnome.extraGSettingsOverridePackages"></xref>.
214214+ </para>
215215+ <para>
216216+ You can use <literal>dconf-editor</literal> tool to explore which
217217+ GSettings you can set.
218218+ </para>
219219+ <section xml:id="sec-gnome-gsettings-overrides-example">
220220+ <title>Example</title>
221221+ <programlisting>
213222services.xserver.desktopManager.gnome = {
214223 extraGSettingsOverrides = ''
215224 # Change default background
···227236 ];
228237};
229238</programlisting>
239239+ </section>
230240 </section>
231231- </section>
232232-233233- <section xml:id="sec-gnome-faq">
234234- <title>Frequently Asked Questions</title>
235235-236236- <section xml:id="sec-gnome-faq-can-i-use-lightdm-with-gnome">
237237- <title>Can I use LightDM with GNOME?</title>
238238-239239- <para>
240240- Yes you can, and any other display-manager in NixOS.
241241- </para>
242242-243243- <para>
244244- However, it doesn’t work correctly for the Wayland session of GNOME Shell yet, and
245245- won’t be able to lock your screen.
246246- </para>
247247-248248- <para>
249249- See <link xlink:href="https://github.com/NixOS/nixpkgs/issues/56342">this issue.</link>
250250- </para>
241241+ <section xml:id="sec-gnome-faq">
242242+ <title>Frequently Asked Questions</title>
243243+ <section xml:id="sec-gnome-faq-can-i-use-lightdm-with-gnome">
244244+ <title>Can I use LightDM with GNOME?</title>
245245+ <para>
246246+ Yes you can, and any other display-manager in NixOS.
247247+ </para>
248248+ <para>
249249+ However, it doesn’t work correctly for the Wayland session of
250250+ GNOME Shell yet, and won’t be able to lock your screen.
251251+ </para>
252252+ <para>
253253+ See
254254+ <link xlink:href="https://github.com/NixOS/nixpkgs/issues/56342">this
255255+ issue.</link>
256256+ </para>
257257+ </section>
251258 </section>
252252- </section>
253259</chapter>