2024-04-07 22:16:33 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-28 20:19:31 -04:00
|
|
|
options = {
|
2024-04-17 22:39:00 -04:00
|
|
|
alyraffauf.desktop.lightdm.enable =
|
2024-04-07 22:16:33 -04:00
|
|
|
lib.mkEnableOption
|
2024-03-28 20:19:31 -04:00
|
|
|
"Enables lightdm and slick greeter with Catppuccin theme.";
|
|
|
|
};
|
|
|
|
|
2024-04-17 22:39:00 -04:00
|
|
|
config = lib.mkIf config.alyraffauf.desktop.lightdm.enable {
|
2024-03-30 14:48:48 -04:00
|
|
|
security.pam.services.lightdm.enableKwallet = true;
|
|
|
|
security.pam.services.lightdm.enableGnomeKeyring = true;
|
|
|
|
|
2024-03-28 20:19:31 -04:00
|
|
|
services.xserver.displayManager.lightdm = {
|
|
|
|
enable = true;
|
|
|
|
greeters.slick = {
|
|
|
|
enable = true;
|
|
|
|
theme.name = "Catppuccin-Frappe-Compact-Mauve-Dark";
|
|
|
|
theme.package = pkgs.catppuccin-gtk.override {
|
2024-04-07 22:16:33 -04:00
|
|
|
accents = ["mauve"];
|
2024-03-28 20:19:31 -04:00
|
|
|
size = "compact";
|
|
|
|
variant = "frappe";
|
2024-04-07 22:16:33 -04:00
|
|
|
tweaks = ["normal"];
|
2024-03-28 20:19:31 -04:00
|
|
|
};
|
2024-03-28 22:42:43 -04:00
|
|
|
|
2024-03-28 20:19:31 -04:00
|
|
|
iconTheme.name = "Papirus-Dark";
|
|
|
|
iconTheme.package = pkgs.catppuccin-papirus-folders.override {
|
|
|
|
flavor = "frappe";
|
|
|
|
accent = "mauve";
|
|
|
|
};
|
2024-03-28 22:42:43 -04:00
|
|
|
|
2024-04-28 09:46:06 -04:00
|
|
|
font.name = "NotoSansNerdFont-Regular";
|
2024-04-07 22:16:33 -04:00
|
|
|
font.package = pkgs.nerdfonts.override {fonts = ["Noto"];};
|
2024-03-28 20:19:31 -04:00
|
|
|
|
|
|
|
cursorTheme.package = pkgs.catppuccin-cursors.frappeDark;
|
|
|
|
cursorTheme.name = "Catppuccin-Frappe-Dark-Cursors";
|
|
|
|
cursorTheme.size = 32;
|
|
|
|
|
|
|
|
extraConfig = ''
|
|
|
|
background=#ca9ee6
|
|
|
|
enable-hidpi=on
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|