From e0df2bd04f6730647ff36f6d6dbc967903ef3f37 Mon Sep 17 00:00:00 2001 From: Tyler Beckman Date: Wed, 4 Dec 2024 13:44:33 -0700 Subject: [PATCH] Fix gtk2 overwrite possibly --- home-manager/modules/gtk.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home-manager/modules/gtk.nix b/home-manager/modules/gtk.nix index 4777866..1ca0476 100644 --- a/home-manager/modules/gtk.nix +++ b/home-manager/modules/gtk.nix @@ -3,7 +3,6 @@ gtk = { enable = true; - # The other file gets overwritten, so change the path gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; theme = { @@ -20,4 +19,7 @@ package = (pkgs.callPackage ../../packages/beautyline {}); }; }; + + # Tell home-manager to force overwrite the gtk2 configuration as it keeps getting overwritten by something (likely plasma) + home.file.${config.gtk.gtk2.configLocation}.force = true; } \ No newline at end of file