1
Fork 0
satellite/hosts/nixos/common/optional/lightdm.nix
Matei Adriel 1cd3d7a903
Hyprland
2023-05-24 03:17:09 +02:00

23 lines
424 B
Nix

{ lib, config, ... }:
let greeter = "enso";
in
{
services.xserver.displayManager.lightdm = {
enable = true;
greeters.slick = lib.mkIf (greeter == "slick") {
enable = true;
draw-user-backgrounds = true;
font = config.stylix.fonts.sansSerif;
};
greeters.enso = lib.mkIf (greeter == "enso") {
enable = true;
blur = true;
};
};
stylix.targets.lightdm.enable = true;
}