13 lines
217 B
Nix
13 lines
217 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
cfg = config.desktop.dm;
|
|
in
|
|
{
|
|
config = lib.mkIf (cfg.name == "sddm") {
|
|
services.xserver.displayManager.sddm = {
|
|
enable = true;
|
|
wayland.enable = cfg.wayland;
|
|
};
|
|
};
|
|
} |