From 7c39c1e094312336b0141fbf7db5d6f3f10ac7a6 Mon Sep 17 00:00:00 2001 From: asnev Date: Thu, 30 Jul 2026 15:15:16 +0700 Subject: [PATCH] librewolf 153 ui fix --- flake.lock | 6 +++--- flake.nix | 4 ++++ nixos.html | 15 +++++++++++++++ nixos.lit | 9 +++++++++ 4 files changed, 31 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 81d0e7e..5e0eb84 100644 --- a/flake.lock +++ b/flake.lock @@ -39,11 +39,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1785090369, - "narHash": "sha256-m0pDuRJG7EDo9ri+4Ksu83VsI+PlxNC9lNBfydejce4=", + "lastModified": 1785318670, + "narHash": "sha256-dN6Ou5x/+23FZLEpYP3IffO+NyJFzUlGumt1uu3MMaY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "624af665418d3c65d544145b4d34ad696439570e", + "rev": "0954f7ee2f6bb3dc7d4e3d0d8bcb8fd4bde4cfc5", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 42acacf..a89031e 100644 --- a/flake.nix +++ b/flake.nix @@ -91,6 +91,10 @@ "..." = "cd ../.."; cat = "bat"; # this line is really funny to me }; + environment.sessionVariables.XDG_DATA_DIRS = [ + "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}" + "${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}" + ]; programs = { # nixos-configuration-programs-contents fish.enable = true; diff --git a/nixos.html b/nixos.html index 1170804..7047214 100644 --- a/nixos.html +++ b/nixos.html @@ -348,6 +348,21 @@ environment.shellAliases = { + +

quick fix for Librewolf not rendering text in its UI (as of 2026-07-30). +

+ +
+{nixos-configuration-contents 4} += +
+environment.sessionVariables.XDG_DATA_DIRS = [
+  "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}"
+  "${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}"
+];
+
+ + +

here's the start of options for programmes...

diff --git a/nixos.lit b/nixos.lit index 85bcfb1..fab5052 100644 --- a/nixos.lit +++ b/nixos.lit @@ -241,6 +241,15 @@ environment.shellAliases = { }; --- +quick fix for Librewolf not rendering text in its UI (as of 2026-07-30). + +--- nixos-configuration-contents += +environment.sessionVariables.XDG_DATA_DIRS = [ + "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/${pkgs.gsettings-desktop-schemas.name}" + "${pkgs.gtk3}/share/gsettings-schemas/${pkgs.gtk3.name}" +]; +--- + here's the start of options for programmes... --- nixos-configuration-contents +=