Jump to content

Sddm: Difference between revisions

From Official NixOS Wiki
Phobos (talk | contribs)
Created a page for SDDM
 
demonstrate installing themes
Line 9: Line 9:
   wayland.enable = true;
   wayland.enable = true;
};|name=/etc/nixos/configuration.nix|lang=nix}}
};|name=/etc/nixos/configuration.nix|lang=nix}}
== Installing themes ==
You can install and configure a theme like so
{{File|3={ pkgs, ... }:
{
  services.displayManager.sddm = {
    enable = true;
    theme = "catppuccin-mocha-mauve";
  };
  environment.systemPackages = [
    (pkgs.catppuccin-sddm {
      flavor = "mocha";
      accent = "mauve";
    })
  ];
}|name=/etc/nixos/configuration.nix|lang=nix}}

Revision as of 19:38, 23 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 {
      flavor = "mocha";
      accent = "mauve";
    })
  ];
}