pinwheel: Open graphite links in work firefox profile

This commit is contained in:
Alexander Heldt committed 2026-09-30 09:30:46 +02:00
1 parent 07a9703730
commit 53644b5d25
2 files changed
+21 -1

No files matched your search

+13 -1
View File
@@ -9,6 +9,18 @@ let
gitEnabled = config.mod.git.enable;
goEnabled = config.mod.go.enable;
openvpnEnabled = config.mod.openvpn.enable;
xdg-open-work = pkgs.writeShellScriptBin "xdg-open" ''
exec ff-work "$@"
'';
graphite-cli = pkgs.symlinkJoin {
name = "graphite-cli";
paths = [ pkgs.graphite-cli ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
wrapProgram $out/bin/gt --prefix PATH : ${xdg-open-work}/bin
'';
};
in
{
home-manager.users.alex = {
@@ -77,7 +89,7 @@ EOF
pkgs.google-cloud-sdk.components.gke-gcloud-auth-plugin
])
pkgs.graphite-cli
graphite-cli
pkgs.postman
pkgs.grpcurl