diff --git a/modules/profiles/base.nix b/modules/profiles/base.nix index 043720b..aefaac4 100644 --- a/modules/profiles/base.nix +++ b/modules/profiles/base.nix @@ -32,6 +32,17 @@ let ''; }; + which-nix = pkgs.writeFishApplication { + name = "which-nix"; + runtimeInputs = with pkgs; [ which coreutils-full ]; + text = /* fish */ '' + readlink -f (which $argv) + ''; + completions = /* fish */ '' + complete -c which-nix -fa '(__fish_complete_command)' + ''; + }; + gi = pkgs.writeFishApplication { name = "gi"; @@ -139,11 +150,12 @@ in (nom-system-command "nixos-boot" "sudo nixos-rebuild boot --flake ~/.dotfiles") (nom-system-command "nixos-switch" "sudo nixos-rebuild switch --flake ~/.dotfiles") comma + manix nix-index + nix-output-monitor nixpkgs-fmt statix - manix - nix-output-monitor + which-nix # other bat