fix(styling): configure icon theme through stylix
All checks were successful
/ check-fmt (push) Successful in 3s
/ build-package (audiomenu) (push) Successful in 1s
/ build-package (docs) (push) Successful in 1s
/ build-package (docs-home-markdown) (push) Successful in 1s
/ build-package (docs-nixos-markdown) (push) Successful in 1s
/ build-package (docs-nvim-markdown) (push) Successful in 1s
/ build-package (jpassmenu) (push) Successful in 1s
/ build-package (nvim) (push) Successful in 1s
/ build-package (nvim-headless) (push) Successful in 1s
/ build-package (nvim-no-lsps) (push) Successful in 1s
/ build-package (nvim-no-ts) (push) Successful in 1s
/ build-package (nvim-small) (push) Successful in 1s
/ build-package (search) (push) Successful in 1s
/ check-nvim (nvim) (push) Successful in 6s
/ check-nvim (nvim-headless) (push) Successful in 3s
/ check-nvim (nvim-no-lsps) (push) Successful in 6s
/ check-nvim (nvim-no-ts) (push) Successful in 6s
/ check-nvim (nvim-small) (push) Successful in 6s
/ build-vm (push) Successful in 2s
/ build-hm (push) Successful in 14s
/ report-size (push) Successful in 6s

Otherwise my own configuration conflicts with stylix's
This commit is contained in:
Jalil David Salamé Messina 2025-07-05 10:17:46 +02:00
parent aba1f7be62
commit 6bd939bfa5
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -16,10 +16,6 @@ let
size = 48;
name = "Nordzy-cursors";
};
iconTheme = {
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
in
{
imports = [
@ -134,7 +130,6 @@ in
fuzzel = {
enable = true;
settings.main = lib.mkIf config.jhome.styling.enable {
icon-theme = "Papirus-Dark";
inherit (cfg) terminal;
layer = "overlay";
};
@ -231,6 +226,12 @@ in
# Set cursor style
inherit cursor;
targets.firefox.profileNames = [ config.home.username ];
iconTheme = {
enable = true;
light = "Papirus-Light";
dark = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
};
home.pointerCursor = lib.mkIf config.jhome.styling.enable (
lib.mkDefault {
@ -241,7 +242,6 @@ in
# Set Gtk theme
gtk = lib.mkIf config.jhome.styling.enable {
enable = true;
inherit iconTheme;
gtk3.extraConfig.gtk-application-prefer-dark-theme = 1;
gtk4.extraConfig.gtk-application-prefer-dark-theme = 1;
};