2023-05-24 03:17:09 +02:00
|
|
|
{ lib, config, ... }:
|
|
|
|
let greeter = "enso";
|
|
|
|
in
|
2023-03-12 05:24:25 +01:00
|
|
|
{
|
2023-05-28 05:24:36 +02:00
|
|
|
services.xserver.enable = true;
|
2023-05-24 03:17:09 +02:00
|
|
|
services.xserver.displayManager.lightdm = {
|
2023-03-12 05:24:25 +01:00
|
|
|
enable = true;
|
2023-05-24 03:17:09 +02:00
|
|
|
|
|
|
|
greeters.slick = lib.mkIf (greeter == "slick") {
|
2023-03-12 05:24:25 +01:00
|
|
|
enable = true;
|
2023-05-24 03:17:09 +02:00
|
|
|
draw-user-backgrounds = true;
|
|
|
|
font = config.stylix.fonts.sansSerif;
|
|
|
|
};
|
2023-03-12 05:24:25 +01:00
|
|
|
|
2023-05-24 03:17:09 +02:00
|
|
|
greeters.enso = lib.mkIf (greeter == "enso") {
|
|
|
|
enable = true;
|
|
|
|
blur = true;
|
2023-03-12 05:24:25 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-05-28 05:24:36 +02:00
|
|
|
# Set default display manager
|
|
|
|
services.xserver.displayManager.defaultSession = lib.mkDefault "hyprland";
|
|
|
|
|
2023-03-12 05:24:25 +01:00
|
|
|
stylix.targets.lightdm.enable = true;
|
|
|
|
}
|
|
|
|
|