diff options
Diffstat (limited to '')
-rw-r--r-- | modules/common/nmap.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/common/nmap.nix b/modules/common/nmap.nix index 73f948c..03586c0 100644 --- a/modules/common/nmap.nix +++ b/modules/common/nmap.nix @@ -26,11 +26,9 @@ in { }; programs.bash = { - shellAliases = let - base = "${pkgs.nmap}/bin/nmap -sV"; - in { - nmap-vulners = "${base} --script=vulners/vulners.nse"; - nmap-vulscan = "${base} --script=vulscan/vulscan.nse"; + shellAliases = { + nmap-vulners = "nmap -sV --script=vulners/vulners.nse"; + nmap-vulscan = "nmap -sV --script=vulscan/vulscan.nse"; }; initExtra = mkAfter '' _complete_alias nmap-vulners _nmap nmap |