From c0b90c0b36712625e27805955bf9d07c42363d0a Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Fri, 6 Sep 2024 18:11:56 +0200 Subject: [PATCH] remove stylix from gnome/gtk (theming should stay away from gtk applications) --- home/base/gnome/default.nix | 1 + modules/stylix.nix | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/home/base/gnome/default.nix b/home/base/gnome/default.nix index bf16521..47536c6 100644 --- a/home/base/gnome/default.nix +++ b/home/base/gnome/default.nix @@ -1,5 +1,6 @@ { pkgs, ... }: { + stylix.targets.gtk.enable = false; dconf = { enable = true; settings = { diff --git a/modules/stylix.nix b/modules/stylix.nix index c5b9d30..f980b0a 100644 --- a/modules/stylix.nix +++ b/modules/stylix.nix @@ -14,8 +14,9 @@ in polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-frappe.yaml"; cursor = { - name = "catppuccin-frappe-lavender-cursors"; - package = pkgs.catppuccin-cursors.frappeLavender; + package = pkgs.adwaita-icon-theme; + name = "Adwaita"; + size = 24; }; fonts = { serif = { @@ -40,6 +41,10 @@ in desktop = 12; }; }; + targets = { + gtk.enable = false; + gnome.enable = false; + }; image = lib.mkDefault ../wallpapers/nix-wallpaper-nineish-catppuccin-frappe-alt.svg; }; };