From 6dda45f3becf11bdb86d38dcf051baacb449408d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 27 Jan 2025 17:02:40 +0100 Subject: ... --- accounts/gkleen@sif/niri/mako.nix | 8 ++++++++ accounts/gkleen@sif/systemd.nix | 3 +++ 2 files changed, 11 insertions(+) diff --git a/accounts/gkleen@sif/niri/mako.nix b/accounts/gkleen@sif/niri/mako.nix index 8fbc81c1..0a10555a 100644 --- a/accounts/gkleen@sif/niri/mako.nix +++ b/accounts/gkleen@sif/niri/mako.nix @@ -30,6 +30,14 @@ [mode=silent] invisible=1 ''; + package = pkgs.symlinkJoin { + name = "${pkgs.mako.name}-wrapped"; + paths = with pkgs; [ mako ]; + inherit (pkgs.mako) meta; + postBuild = '' + rm -r $out/share/dbus-1 + ''; + }; }; systemd.user.services.mako = { Unit = { diff --git a/accounts/gkleen@sif/systemd.nix b/accounts/gkleen@sif/systemd.nix index d3a1a4c7..a89b46c2 100644 --- a/accounts/gkleen@sif/systemd.nix +++ b/accounts/gkleen@sif/systemd.nix @@ -344,6 +344,9 @@ in { Unit = { PartOf = lib.mkForce ["tray.target"]; }; + Install = { + WantedBy = lib.mkForce ["tray.target"]; + }; }; } // listToAttrs (map ({host, port}: nameValuePair "proxy-to-autossh-socks@${toString port}" { Unit = { -- cgit v1.2.3