nixcfg/nixosModules/desktop/lightdm/default.nix

59 lines
1.3 KiB
Nix
Raw Normal View History

2024-05-10 19:23:21 -04:00
{
pkgs,
lib,
config,
...
}: {
options = {
alyraffauf.desktop.lightdm.enable =
lib.mkEnableOption
"Lightdm and slick greeter with Catppuccin theme.";
};
config = lib.mkIf config.alyraffauf.desktop.lightdm.enable {
2024-05-27 21:39:30 -04:00
security.pam.services.lightdm = {
enableGnomeKeyring = true;
enableKwallet = true;
};
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-Compact-Mauve-Dark";
package = pkgs.catppuccin-gtk.override {
accents = ["mauve"];
size = "compact";
variant = "frappe";
tweaks = ["normal"];
};
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.override {
flavor = "frappe";
accent = "mauve";
};
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.override {fonts = ["Noto"];};
};
2024-05-10 19:23:21 -04:00
2024-05-27 21:39:30 -04:00
cursorTheme = {
name = "Catppuccin-Frappe-Dark-Cursors";
size = 24;
};
2024-05-10 19:23:21 -04:00
extraConfig = ''
background=#303446
enable-hidpi=on
'';
};
};
};
}