Jump to content

Sddm: Difference between revisions

From Official NixOS Wiki
demonstrate installing themes
Line 20: Line 20:


   environment.systemPackages = [  
   environment.systemPackages = [  
     (pkgs.catppuccin-sddm {
     (pkgs.catppuccin-sddm.override {
       flavor = "mocha";
       flavor = "mocha";
       accent = "mauve";
       accent = "mauve";

Revision as of 13:01, 29 December 2025

Simple Desktop Display Manager (SDDM) is a modern display manager for X11 and Wayland sessions.

Installation

SDDM can be enabled as the display manager with these lines.

❄︎ /etc/nixos/configuration.nix
services.displayManager.sddm = {
  enable = true;

  # Enables experimental Wayland support
  wayland.enable = true;
};

Installing themes

You can install and configure a theme like so

❄︎ /etc/nixos/configuration.nix
{ pkgs, ... }:
{
  services.displayManager.sddm = {
    enable = true;
    theme = "catppuccin-mocha-mauve";
  };

  environment.systemPackages = [ 
    (pkgs.catppuccin-sddm.override {
      flavor = "mocha";
      accent = "mauve";
    })
  ];
}