nixcfg/nixosModules/desktop/cinnamon/default.nix

55 lines
1.1 KiB
Nix
Raw Normal View History

2024-05-11 21:36:27 -04:00
{
pkgs,
lib,
config,
...
}: {
config = lib.mkIf config.ar.desktop.cinnamon.enable {
security.pam.services.lightdm = {
enableGnomeKeyring = true;
gnupg.enable = true;
kwallet.enable = true;
};
2024-05-11 21:36:27 -04:00
services = {
xserver = {
enable = true;
desktopManager.cinnamon.enable = true;
displayManager.lightdm = {
2024-05-11 21:36:27 -04:00
enable = true;
greeters.slick = {
enable = true;
cursorTheme = {
name = "Bibata-Modern-Classic";
package = pkgs.bibata-cursors;
size = 20;
};
font = {
name = "NotoSans Nerd Font Regular";
package = pkgs.nerdfonts;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
theme = {
name = "adw-gtk3-dark";
package = pkgs.adw-gtk3;
};
extraConfig = ''
background=#242424
enable-hidpi=on
'';
};
2024-05-11 21:36:27 -04:00
};
};
};
};
}