Files
nix-config/modules/graphical/lightdm.nix
2024-06-23 10:57:16 +02:00

20 lines
407 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;
};
};
}