1

Modules/Color: Configure iconTheme and cursor using color module

This commit is contained in:
2025-11-14 14:19:57 +01:00
parent a9a7115774
commit a27dc9859b
7 changed files with 240 additions and 182 deletions

View File

@ -3,6 +3,7 @@
nixosConfig,
lib,
mylib,
inputs,
pkgs,
...
}: let
@ -18,11 +19,24 @@ in {
}
];
gtk = {
enable = true;
# iconTheme.package = pkgs.papirus-icon-theme;
iconTheme.name = color.iconTheme;
};
home = {
sessionVariables = {
# For Noctalia
# QS_ICON_THEME = "Papirus";
QT_QPA_PLATFORMTHEME = "gtk3";
QT_QPA_PLATFORMTHEME = "gtk3"; # For Noctalia
GDK_BACKEND = "wayland"; # For screen sharing
};
pointerCursor = {
gtk.enable = true;
x11.enable = true;
# package = inputs.waifu-cursors.packages.${pkgs.system}.all;
name = color.cursor;
size = color.cursorSize;
};
packages = with pkgs; [
@ -132,8 +146,8 @@ in {
cursor = {
hide-when-typing = true;
theme = "Bibata-Modern-Classic";
size = 24;
theme = color.cursor;
size = color.cursorSize;
};
layout = {