KDE: Difference between revisions
mNo edit summary |
Remove unsupported Plasma 5 examples |
||
| Line 3: | Line 3: | ||
== Installation == | == Installation == | ||
To use KDE Plasma, add this to your configuration.nix: | |||
{{file|3=# Enable Plasma | {{file|3=# Enable Plasma | ||
| Line 18: | Line 18: | ||
# Optionally enable xserver | # Optionally enable xserver | ||
services.xserver.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | services.xserver.enable = true;|name=/etc/nixos/configuration.nix|lang=nix}} | ||
== Configuration == | == Configuration == | ||
| Line 47: | Line 36: | ||
Some optional packages can be excluded if they are not needed at the cost of functionality. | Some optional packages can be excluded if they are not needed at the cost of functionality. | ||
Optional packages: [https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/desktop-managers/plasma6.nix#L159-L174 plasma6.nix] | Optional packages: [https://github.com/NixOS/nixpkgs/blob/nixos-24.11/nixos/modules/services/desktop-managers/plasma6.nix#L159-L174 plasma6.nix] | ||
| Line 57: | Line 44: | ||
konsole | konsole | ||
elisa | elisa | ||
]; | ]; | ||
</syntaxHighlight> | </syntaxHighlight> | ||
=== Default Wayland/X11 session === | === Default Wayland/X11 session === | ||
Plasma 6 runs on Wayland by default. To launch an X11 session by default: | Plasma 6 runs on Wayland by default. To launch an X11 session by default: | ||
| Line 86: | Line 59: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
services.displayManager.sddm.wayland.enable = true; | services.displayManager.sddm.wayland.enable = true; | ||
</syntaxhighlight> | </syntaxhighlight> | ||