fix theme being overwritten by kde

This commit is contained in:
sadan 2025-03-20 16:24:45 -04:00
parent 33393a9986
commit cf0f1e351a
No known key found for this signature in database

View file

@ -5,10 +5,6 @@
# TODO: import dynamically based on hostname
./displays/nix-desktop-evo4b5.nix
];
# workaround https://github.com/nix-community/plasma-manager/issues/472
# This errors
# home.file.".gtkrc-2.0".force = true;
gtk.gtk2.configLocation = "${config.home.homeDirectory}/.config/.gtkrc-2.0";
programs = {
plasma = {
enable = true;
@ -21,6 +17,12 @@
XLbInptAccelProfileFlat = true;
};
};
# Stylix will write to `~/.gtkrc-2.0`, but KDE has a daemon that will auto-generate a gtk config for the theme in use
"kded5rc" = {
Module-gtkconfig = {
autoload = false;
};
};
};
# Needed because our color scheme is overwritten
workspace = {