1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-02 15:11:03 +01:00

gtk4: don't enable theme by default

This is not officially supported and causes issues in some cases.
Also adds a warning to the option.
This commit is contained in:
Fugi 2025-09-15 17:47:32 +02:00 committed by Austin Horstman
parent 86ff0ef506
commit ae9f38e889
10 changed files with 35 additions and 20 deletions

View file

@ -1,5 +1,7 @@
{ pkgs, ... }:
{
home.stateVersion = "26.05";
gtk = {
enable = true;
font = {
@ -37,9 +39,5 @@
assertFileExists home-files/.config/gtk-4.0/settings.ini
assertFileContent home-files/.config/gtk-4.0/settings.ini \
${./gtk-global-inheritance-gtk4-expected.ini}
# Check GTK4 CSS with theme import
assertFileExists home-files/.config/gtk-4.0/gtk.css
assertFileContent home-files/.config/gtk-4.0/gtk.css ${./gtk-global-inheritance-gtk4-css-expected.css}
'';
}