From d0697ff815777f166f88e8d6651852c433ff9cbb Mon Sep 17 00:00:00 2001 From: DuskyElf Date: Tue, 4 Aug 2026 08:05:21 +0530 Subject: [PATCH] fix: align stylix 26.05 and dark-scheme portal for zen --- flake.nix | 2 +- home.nix | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 317cf3a..50e8105 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ }; stylix = { - url = "github:nix-community/stylix/release-25.11"; + url = "github:nix-community/stylix/release-26.05"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/home.nix b/home.nix index f12800d..124ebcc 100644 --- a/home.nix +++ b/home.nix @@ -17,13 +17,14 @@ name = "JetBrainsMonoNerdFontMono"; }; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-hard.yaml"; - - # FIXME: remove when stylix releases a 26.05 branch - enableReleaseChecks = false; targets.gnome.enable = false; }; - gtk.gtk4.theme = config.gtk.theme; + # Zen-browser (and other apps) read light/dark from the portal's + # org.freedesktop.appearance interface, which maps to this GNOME dconf key. + # Unset, the portal reports light and zen renders light despite polarity=dark. + # (niri issue #2878) + dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark"; # Don't change home.stateVersion = "25.11"; -- 2.51.2