Category:Desktop environment: Difference between revisions

From NixOS Wiki
Klinger (talk | contribs)
mNo edit summary
Klinger (talk | contribs)
What is a DE? Added a table for the different DE in NixOS (not yet fully done)
Line 1: Line 1:
It is very easy to install and change desktop environments in NixOS. For the default settings its only needed to use a few lines of code:
Linux desktop environments are a GUI for a PC, manage windows, edit settings and have default applications.
 
Contrary to other Linux distributions it is very easy to install and change desktop environments in NixOS. For the default settings its only needed to use a few lines of code. It will install the desktop environment with all default applications:


<syntaxHighlight lang=nix>
<syntaxHighlight lang=nix>
Line 6: Line 8:
services.xserver.desktopManager.gnome.enable = true;
services.xserver.desktopManager.gnome.enable = true;
</syntaxHighlight>
</syntaxHighlight>
Changing the desktopManager and selecting a suitable displayManager is required to change the desktop environment. Only some desktop environments require more configuration options than the default environment. Because of the way NixOS works, the system will not become bloated when experimenting with different desktop environments: The default applications of a desktop environment are only available when it is active.
Changing the desktopManager and selecting a suitable displayManager is required to change the desktop environment (and a reboot). Only some desktop environments require more configuration options than the default environment. Because of the way NixOS works, the system will not become bloated when experimenting with different desktop environments: The default applications of a desktop environment are only available when it is active.
{| class="wikitable"
|+
!Desktop Environment
!displayManager (others may work too)
!desktopManager
!additionally needed
|-
|Gnome
|gdm
|gnome
|
|-
|KDE/Plasma5
|sddm
|plasma5
|
|-
|KDE/Plasma6
|sddm
|plasma6
|services.displayManager.sddm.wayland.enable = true;
|-
|Cinnamon
|lightdm
|cinnamon
|
|-
|Mate
|lightdm
|mate
|
|-
|XFCE
|lightdm
|xfce
|
|-
|Budgie
|lightdm
|budgie
|
|-
|Deepin
|lightdm
|deepin
|
|-
|Pantheon
|lightdm
|pantheon
|
|}


[[Category:Desktop]]
[[Category:Desktop]]

Revision as of 16:29, 19 June 2024

Linux desktop environments are a GUI for a PC, manage windows, edit settings and have default applications.

Contrary to other Linux distributions it is very easy to install and change desktop environments in NixOS. For the default settings its only needed to use a few lines of code. It will install the desktop environment with all default applications:

services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;

Changing the desktopManager and selecting a suitable displayManager is required to change the desktop environment (and a reboot). Only some desktop environments require more configuration options than the default environment. Because of the way NixOS works, the system will not become bloated when experimenting with different desktop environments: The default applications of a desktop environment are only available when it is active.

Desktop Environment displayManager (others may work too) desktopManager additionally needed
Gnome gdm gnome
KDE/Plasma5 sddm plasma5
KDE/Plasma6 sddm plasma6 services.displayManager.sddm.wayland.enable = true;
Cinnamon lightdm cinnamon
Mate lightdm mate
XFCE lightdm xfce
Budgie lightdm budgie
Deepin lightdm deepin
Pantheon lightdm pantheon

Pages in category "Desktop environment"

The following 9 pages are in this category, out of 9 total.