~ruther/nixos-config

5fc78c95e53be993c08a18a7c086f9677f697608 — Frantisek Bohacek 1 year, 4 months ago 2775bde
feat(zsh): add function for browsing nixpgks derivations
1 files changed, 3 insertions(+), 0 deletions(-)

M modules/shell/zsh.nix
M modules/shell/zsh.nix => modules/shell/zsh.nix +3 -0
@@ 25,6 25,9 @@
        function loc {
          nix-locate --top-level -w /bin/$1
        }
        function exa-nixpkgs-derivation {
          nix run nixpkgs#eza -- --tree $(nix build nixpkgs#$1 --print-out-paths --out-link /tmp/$1)
        }

        # source /etc/set-environment
      '';

Do not follow this link