feat: add pre-configured librewolf browser

Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
This commit is contained in:
Hadi
2026-05-30 01:12:55 +02:00
parent 39248e2be6
commit b3caa9852c
3 changed files with 71 additions and 2 deletions
+3 -1
View File
@@ -2,6 +2,7 @@
pkgs,
buildGoApplication,
}: let
browser = import ./browser.nix {inherit pkgs;};
pname = "spilltea";
version = "0.0.6";
ldflags = ["-s" "-w" "-X main.version=${version}"];
@@ -9,7 +10,7 @@
inherit pname version ldflags;
src = ../.;
modules = ./gomod2nix.toml;
nativeBuildInputs = [ pkgs.installShellFiles ];
nativeBuildInputs = [pkgs.installShellFiles];
env.GOTOOLCHAIN = "local";
postInstall = ''
installShellCompletion --cmd spilltea \
@@ -26,4 +27,5 @@
in {
"${pname}" = pkg;
default = pkg;
browser = browser;
}