nixcfg/modules/hyprland.nix

56 lines
1.5 KiB
Nix
Raw Normal View History

2024-03-23 22:38:31 -04:00
{ config, pkgs, ... }:
{
2024-03-24 19:17:29 -04:00
imports = [ # Include X settings.
./desktop.nix
];
2024-03-23 22:38:31 -04:00
2024-03-24 19:17:29 -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 {
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;
2024-03-25 23:57:27 -04:00
2024-03-24 19:34:30 -04:00
extraConfig = ''
background=#ca9ee6
2024-03-24 19:44:09 -04:00
enable-hidpi=on
2024-03-24 19:34:30 -04:00
'';
2024-03-24 19:22:08 -04:00
};
2024-03-24 19:17:29 -04:00
};
programs.hyprland.enable = true;
services.power-profiles-daemon.enable = true;
services.upower.enable = true;
2024-03-26 22:29:48 -04:00
services.dbus.packages = [ pkgs.gcr ];
2024-03-24 19:17:29 -04:00
services.gnome.gnome-keyring.enable = true;
2024-03-25 14:20:46 -04:00
security.pam.services.gdm.enableKwallet = true;
security.pam.services.gdm.enableGnomeKeyring = true;
2024-03-25 14:20:46 -04:00
# programs.xfconf.enable = true;
# programs.thunar = {
# enable = true;
# plugins = with pkgs.xfce; [ thunar-archive-plugin thunar-volman ];
# };
2024-03-24 19:17:29 -04:00
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
2024-03-24 19:17:29 -04:00
environment.sessionVariables.NIXOS_OZONE_WL = "1";
2024-03-23 22:38:31 -04:00
}