nixcfg/nixosModules/desktop/lightdm/default.nix

47 lines
986 B
Nix
Raw Normal View History

2024-05-10 19:23:21 -04:00
{
config,
lib,
pkgs,
2024-05-10 19:23:21 -04:00
...
}: {
config = lib.mkIf config.ar.desktop.lightdm.enable {
2024-05-27 21:39:30 -04:00
security.pam.services.lightdm = {
enableGnomeKeyring = true;
gnupg.enable = true;
kwallet.enable = true;
2024-05-27 21:39:30 -04:00
};
2024-05-10 19:23:21 -04:00
services.xserver.displayManager.lightdm = {
enable = true;
greeters.slick = {
enable = true;
2024-05-27 21:39:30 -04:00
theme = {
name = "catppuccin-frappe-mauve-compact+normal";
package = pkgs.catppuccin-gtk;
2024-05-10 19:23:21 -04:00
};
2024-05-27 21:39:30 -04:00
iconTheme = {
name = "Papirus-Dark";
package = pkgs.catppuccin-papirus-folders;
2024-05-10 19:23:21 -04:00
};
2024-05-27 21:39:30 -04:00
font = {
name = "NotoSans Nerd Font Regular";
package = pkgs.nerdfonts;
2024-05-27 21:39:30 -04:00
};
2024-05-10 19:23:21 -04:00
2024-05-27 21:39:30 -04:00
cursorTheme = {
name = "catppuccin-frappe-dark-cursors";
package = pkgs.catppuccin-cursors.frappeDark;
2024-05-27 21:39:30 -04:00
size = 24;
};
2024-05-10 19:23:21 -04:00
extraConfig = ''
background=#303446
enable-hidpi=on
'';
};
};
};
}