Files
NixOsConfig/modules/home/theming.nix
T
Claude 76942e77be home-manager: final Hyprland Lua config, Noctalia, WezTerm, Neovim, shell
Fixes found by build/runtime tests: bind conflict on SUPER+CTRL+L,
lualine theme name for catppuccin-nvim 2.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J1cugeLkfFLZMpiztQ8TyN
2026-10-11 12:45:37 +00:00

52 lines
1.2 KiB
Nix

# Dark GTK and Qt look, icons and cursor. Noctalia themes the shell itself;
# this keeps the apps consistent with it.
{
config,
lib,
pkgs,
...
}:
let
cfg = config.my.home.theming;
in
{
options.my.home.theming.enable = lib.mkEnableOption "GTK/Qt theme, icons and cursor";
config = lib.mkIf cfg.enable {
gtk = {
enable = true;
colorScheme = "dark";
theme = {
name = "adw-gtk3-dark";
package = pkgs.adw-gtk3;
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
};
# gtk.enable above lets GTK apps pick the cursor up from here.
home.pointerCursor = {
enable = true;
package = pkgs.bibata-cursors;
name = "Bibata-Modern-Classic";
size = 24;
gtk.enable = true;
};
# Qt apps follow the GTK settings, with the Adwaita dark widget style.
qt = {
enable = true;
platformTheme.name = "gtk3";
style.name = "adwaita-dark";
};
# libadwaita and GTK 4 apps read the preference from dconf. The system
# needs programs.dconf.enable for this to be applied.
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
};
}