mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 08:11:55 -05:00
52 lines
1.6 KiB
Nix
52 lines
1.6 KiB
Nix
|
{ pkgs, lib, config, ... }: {
|
||
|
|
||
|
options = {
|
||
|
desktopConfig.windowManagers.hyprland.enable =
|
||
|
lib.mkEnableOption "Enables hyprland window manager session with lightdm.";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf config.desktopConfig.windowManagers.hyprland.enable {
|
||
|
services.xserver.displayManager.lightdm = {
|
||
|
enable = true;
|
||
|
greeters.slick = {
|
||
|
enable = true;
|
||
|
theme.name = "Catppuccin-Frappe-Compact-Mauve-Dark";
|
||
|
theme.package = pkgs.catppuccin-gtk.override {
|
||
|
accents = [ "mauve" ];
|
||
|
size = "compact";
|
||
|
variant = "frappe";
|
||
|
tweaks = [ "normal" ];
|
||
|
};
|
||
|
iconTheme.name = "Papirus-Dark";
|
||
|
iconTheme.package = pkgs.catppuccin-papirus-folders.override {
|
||
|
flavor = "frappe";
|
||
|
accent = "mauve";
|
||
|
};
|
||
|
font.name = "NotoSans Nerd Font Regular";
|
||
|
|
||
|
cursorTheme.package = pkgs.catppuccin-cursors.frappeDark;
|
||
|
cursorTheme.name = "Catppuccin-Frappe-Dark-Cursors";
|
||
|
cursorTheme.size = 32;
|
||
|
|
||
|
extraConfig = ''
|
||
|
background=#ca9ee6
|
||
|
enable-hidpi=on
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
programs.hyprland.enable = true;
|
||
|
services.power-profiles-daemon.enable = true;
|
||
|
services.upower.enable = true;
|
||
|
|
||
|
services.dbus.packages = [ pkgs.gcr ];
|
||
|
|
||
|
services.gnome.gnome-keyring.enable = true;
|
||
|
security.pam.services.gdm.enableKwallet = true;
|
||
|
security.pam.services.gdm.enableGnomeKeyring = true;
|
||
|
|
||
|
services.gvfs.enable = true; # Mount, trash, and other functionalities
|
||
|
services.tumbler.enable = true; # Thumbnail support for images
|
||
|
|
||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||
|
};
|
||
|
}
|