Minimal KDE Plasma Wayland-only install

The installation manuals were a bit misleading, but it is possible to install KDE Plasma Wayland-only!

I used the minimal install ISO, documented the install process here.

The snippet from my configuration.nix is in the same repo.

# Enable SDDM and Plasma6
services.displayManager.sddm.enable = true ;
services.desktopManager.plasma6.enable = true ;

# KDE Plasma in Wayland
services.displayManager.defaultSession = "plasma" ;

# SDDM in Wayland
services.displayManager.sddm.wayland.enable = true ;

services.flatpak.enable = true ;

environment.plasma6.excludePackages = with pkgs.kdePackages; [
  oxygen
  elisa
];

environment.systemPackages = with pkgs; [
    kate
    discover
];

No need to enable x11 to install plasma or SDDM, both work in Wayland

This way I dont even have an X11 session, but suppose there are more X11 packages that could be excluded

TODO

This does not yet seem complete. There is no polkit authentication (which seems to be an issue with the package group), and some nice packages are missing.

2 Likes

Can’t wait for NixOS KDE to be 100% Wayland. Also other alternatives to KDE that are 100% Wayland on NixOS?

I haven’t found the time yet to go down into this (yet another!) Nix/NixOS rabbit hole, but at least it’s on my backlog: GitHub - nix-community/plasma-manager: Manage KDE Plasma with Home Manager [maintainer=@HeitorAugustoLN]

Have phun!

1 Like