Commit 2dc99818a73a

Vincent Demeester <vincent@sbr.pm>
2026-08-05 16:14:30
fix: replace removed arc-theme with adw-gtk3
arc-theme was removed from nixpkgs due to unmaintained gtk-engine-murrine and GTK 2 dependency. Also removed niri overlay since nixpkgs now ships v26.04 natively.
1 parent e1e9106
Changed files (3)
home
common
desktop
overlays
systems
common
desktop
home/common/desktop/gtk.nix
@@ -7,8 +7,8 @@
       package = pkgs.arc-icon-theme;
     };
     theme = {
-      name = "Arc";
-      package = pkgs.arc-theme;
+      name = "adw-gtk3-dark";
+      package = pkgs.adw-gtk3;
     };
     gtk2 = {
       configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
overlays/default.nix
@@ -28,38 +28,7 @@ in
     # Pin SearXNG to latest commit for critical engine fixes:
     # - Google useragent bypass (#5892, 2026-03-23)
     # - Bing engine rework (#5793, 2026-03-18)
-    # Track latest niri release (nixpkgs is on 25.11, upstream has 26.04)
-    niri =
-      let
-        src = final.fetchFromGitHub {
-          owner = "niri-wm";
-          repo = "niri";
-          tag = "v26.04";
-          hash = "sha256-ehSMsSpE+0k8r+2Vseu8kangsYxToZv3vinynsDp9zs=";
-        };
-      in
-      (prev.niri.override {
-        # niri 26.04 requires libdisplay-info < 0.4.0, nixpkgs has 0.4.0
-        libdisplay-info = prev.libdisplay-info.overrideAttrs (_old: rec {
-          version = "0.3.0";
-          src = final.fetchurl {
-            url = "https://gitlab.freedesktop.org/emersion/libdisplay-info/-/releases/${version}/downloads/libdisplay-info-${version}.tar.xz";
-            hash = "sha256-aud82Tf5z30TIdNcEWBixJEehEcBCmpxOsQob3qdWYc=";
-          };
-        });
-      }).overrideAttrs
-        (_old: {
-          version = "26.04";
-          inherit src;
-          postPatch = ''
-            patchShebangs resources/niri-session
-          '';
-          cargoDeps = final.rustPlatform.fetchCargoVendor {
-            inherit src;
-            name = "niri-26.04-vendor";
-            hash = "sha256-gfnalA3qI3a9h3PvsxgQLCrzapfjLLkxhTMJpwRh+ro=";
-          };
-        });
+    # niri overlay removed — nixpkgs now ships 26.04 natively
 
     searxng = prev.searxng.overrideAttrs (_oldAttrs: {
       version = "0-unstable-2026-03-23";
systems/common/desktop/niri.nix
@@ -85,8 +85,8 @@
       appearance.greeting_msg = "Welcome back!";
     };
     theme = {
-      name = "Arc-Dark";
-      package = pkgs.arc-theme;
+      name = "adw-gtk3-dark";
+      package = pkgs.adw-gtk3;
     };
     iconTheme = {
       name = "Arc";