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

@@ -40,6 +40,13 @@ let
'';
};
ff-work = pkgs.writeShellApplication {
name = "ff-work";
text = ''
${wrapped}/bin/firefox-devedition -P work --new-window "$@"
'';
};
sharedSettings = {
"general.smoothScroll" = true;
"apz.gtk.kinetic_scroll.enabled" = false;
@@ -118,6 +125,7 @@ in
home.packages = [
ff
ff-alex
ff-work
];
};
+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