From fabe57023d328d71515bb9677c10f53ca494564d Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 25 Nov 2026 16:21:38 +0100 Subject: [PATCH] pinwheel: Open rv's notifications in the work Firefox profile rv opens its web UI with $BROWSER, and the browser script sends links to ff-work only when started under ~/code/work. The rv service ran from the home directory, so a middle-click on a review notification opened the UI in ff-alex. Run the service from ~/code/work instead. --- hosts/pinwheel/modules/work/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hosts/pinwheel/modules/work/default.nix b/hosts/pinwheel/modules/work/default.nix index ee04ef2..a57c770 100644 --- a/hosts/pinwheel/modules/work/default.nix +++ b/hosts/pinwheel/modules/work/default.nix @@ -123,6 +123,10 @@ EOF teams = [ "work-org/content" ]; }; }; + + systemd.user.services = lib.mkIf gitEnabled { + rv.Service.WorkingDirectory = "%h/code/work"; + }; }; home-manager.sharedModules = [ inputs.rv.homeManagerModules.default ];