From 6c64393312b677905adf15de45d82289d9b73fef Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Tue, 10 Sep 2024 02:06:42 +0200 Subject: [PATCH 1/2] outputs: use 'outPath' instead of '__toString' for selfPath --- outputs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.nix b/outputs.nix index f69f3bf..d5fdeb7 100644 --- a/outputs.nix +++ b/outputs.nix @@ -9,7 +9,7 @@ lib = (import "${inputs.nixpkgs}/lib").extend (import ./lib/overlays/version-inf self = { inherit inputs lib self; - __toString = _: selfPath; + outPath = selfPath; modifiedNixpkgs = import ./pkgs/top-level/impure.nix; modifiedNixpkgsPure = import ./pkgs/top-level/default.nix; overlays = { From 823a2c69528b6757c3b5757bc56de394f82d68ea Mon Sep 17 00:00:00 2001 From: Wroclaw Date: Sat, 14 Sep 2024 01:49:58 +0200 Subject: [PATCH 2/2] nixos/gnome: set theme for gtk-3 apps --- nix-os/desktopManagers/gnome.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix-os/desktopManagers/gnome.nix b/nix-os/desktopManagers/gnome.nix index 964b906..f049e94 100644 --- a/nix-os/desktopManagers/gnome.nix +++ b/nix-os/desktopManagers/gnome.nix @@ -84,5 +84,12 @@ in #FIXME: Apply the cursor theme also in GTK3 config google-cursor ]; + + environment.etc."xdg/gtk-3.0/settings.ini".text = '' + [Settings] + gtk-cursor-theme-name=${config.proot.dconf.rules."org/gnome/desktop/interface".cursor-theme} + '' + lib.optionalString (lib.hasInfix "dark" config.proot.dconf.rules."org/gnome/desktop/interface".color-scheme) '' + gtk-application-prefer-dark-theme=true + ''; }; }