diff options
| author | Fuwn <[email protected]> | 2024-06-22 04:24:07 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-06-22 04:24:07 -0700 |
| commit | f440ba84f27fb322448e444b7eb62ff56033fc67 (patch) | |
| tree | 8b041fc95766367e4a6fa99b6594dadb1728dacb /applications/cli/gemini/bollux/default.nix | |
| download | nixos-config-f440ba84f27fb322448e444b7eb62ff56033fc67.tar.xz nixos-config-f440ba84f27fb322448e444b7eb62ff56033fc67.zip | |
feat: initial configuration
Diffstat (limited to 'applications/cli/gemini/bollux/default.nix')
| -rw-r--r-- | applications/cli/gemini/bollux/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/applications/cli/gemini/bollux/default.nix b/applications/cli/gemini/bollux/default.nix new file mode 100644 index 0000000..175fe80 --- /dev/null +++ b/applications/cli/gemini/bollux/default.nix @@ -0,0 +1,36 @@ +{ pkgs, lib, ... }: +let + bollux = + pkgs.stdenvNoCC.mkDerivation rec { + pname = "bollux"; + version = "f472e60f1164f0dc025d06db2a13ff4e8ebee1a2"; + src = pkgs.fetchFromGitea { + domain = "tildegit.org"; + owner = "acdw"; + repo = "bollux"; + rev = version; + hash = "sha256-mo2qWCPfW+dUaYcJLsos/vR5nJ8n1eABy8Zy8OZsfVg="; + }; + installPhase = '' + mkdir -p $out/bin + make install PREFIX=$out + ''; + meta = with lib; { + description = "a Gemini browser in like, idk, 96% pure Bash"; + homepage = "https://tildegit.org/acdw/bollux"; + license = licenses.mit; + platforms = platforms.unix; + mainProgram = "bollux"; + }; + }; +in +{ + home.packages = [ + # I'll update this later and move the above derivation to its own package + # once I push my entire NixOS system configuration. + # (pkgs.callPackage /path/to/pkgs/bollux.nix { + # src = bollux; + # }) + bollux + ]; +} |