Files
nix-config/modules/graphical/lightdm.nix
2025-10-30 21:59:31 +01:00

27 lines
417 B
Nix

{
config,
pkgs,
lib,
...
}:
let
cfg = config.custom.graphical.lightdm;
in
{
options = {
custom.graphical.lightdm.enable = lib.mkOption {
type = lib.types.bool;
default = false;
description = "Enable lightdm";
};
};
config = lib.mkIf cfg.enable {
services.xserver.displayManager = {
lightdm.enable = true;
lightdm.greeters.slick.enable = true;
};
};
}