dark theme

This commit is contained in:
2026-09-23 00:29:45 +05:00
parent aeacd41521
commit 12fea5c39e
3 changed files with 70 additions and 0 deletions
+8
View File
@@ -250,9 +250,17 @@ security.doas.extraRules = [
default = [ "wlr" "gtk" ];
"org.freedesktop.impl.portal.ScreenCast" = [ "wlr" ];
"org.freedesktop.impl.portal.Screenshot" = [ "wlr" ];
# How browsers and Electron apps learn the dark preference; wlr has no
# Settings implementation, so it has to be pinned to gtk explicitly.
"org.freedesktop.impl.portal.Settings" = [ "gtk" ];
};
};
# GTK4/libadwaita apps and the settings portal read the dark preference out
# of dconf (see home/theme.nix), which needs a real dconf backend -- there is
# no desktop environment here to enable one.
programs.dconf.enable = true;
programs.waybar.enable = true;
programs.xfconf.enable = true;