From 71f6d0387efef98cc51c2c0d8d0273f2891d97ae Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Sun, 5 Jan 2025 13:49:27 +0800 Subject: [PATCH] dust: dependency trimming --- home/default.nix | 1 - overlays/default.nix | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index 4c0c064..4046729 100644 --- a/home/default.nix +++ b/home/default.nix @@ -35,7 +35,6 @@ dconf-editor fastfetch fd - file-roller hyperfine libnotify loupe diff --git a/overlays/default.nix b/overlays/default.nix index 95c2fc5..2732a86 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -33,6 +33,15 @@ _final: prev: { configureFlags = [ "--disable-gtk2-engine" ]; }; + # HACK: + xdg-desktop-portal-gtk = + (prev.xdg-desktop-portal-gtk.override { + gnome-settings-daemon = null; + gnome-desktop = null; + gsettings-desktop-schemas = null; + }).overrideAttrs + { mesonFlags = [ (prev.lib.mesonEnable "wallpaper" false) ]; }; + # TODO: # sway-unwrapped = prev.sway-unwrapped.overrideAttrs (oldAttrs: { # patches = (oldAttrs.patches or [ ]) ++ [