1
Fork 0
satellite/hosts/nixos/common/optional/xorg/lightdm.nix

30 lines
674 B
Nix
Raw Normal View History

2023-05-24 03:17:09 +02:00
{ lib, config, ... }:
let greeter = "enso";
in
2023-03-12 05:24:25 +01:00
{
2023-12-02 00:46:56 +01:00
imports = [ ./xserver.nix ];
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
2023-07-30 01:22:25 +02:00
# services.xserver.displayManager.defaultSession = lib.mkDefault "hyprland";
services.xserver.displayManager.defaultSession = lib.mkDefault "none+xmonad";
2023-05-28 05:24:36 +02:00
2023-12-02 00:46:56 +01:00
# Enable base16 styling
2023-03-12 05:24:25 +01:00
stylix.targets.lightdm.enable = true;
}