security-toolbox: remove "self"

This commit is contained in:
Sean Buckley 2021-11-01 14:45:18 -04:00
parent 9931b1f428
commit 5f069f855c
3 changed files with 36 additions and 11 deletions

View file

@ -4,7 +4,7 @@
outputs = { self, nixpkgs, impermanence, ... }: outputs = { self, nixpkgs, impermanence, ... }:
let let
mypkgs = import ./pkgs self; mypkgs = import ./pkgs;
in in
{ {
nixosModules = nixosModules =

View file

@ -1,4 +1,3 @@
self:
pkgs: pkgs:
let let
@ -16,10 +15,8 @@ let
{ {
binaryninja = pkgs.callPackage ./binary-ninja-personal { }; binaryninja = pkgs.callPackage ./binary-ninja-personal { };
packettracer = pkgs.callPackage ./packettracer { }; packettracer = pkgs.callPackage ./packettracer { };
security-toolbox = pkgs.callPackage ./security-toolbox { inherit (allArchs) gef webshells weevely; };
SpaceCadetPinball = pkgs.callPackage ./SpaceCadetPinball { }; SpaceCadetPinball = pkgs.callPackage ./SpaceCadetPinball { };
security-toolbox = pkgs.callPackage ./security-toolbox {
pkgs = pkgs // self.packages.${pkgs.system};
};
}; };
in in

View file

@ -1,8 +1,35 @@
{ pkgs }: { symlinkJoin
, writeShellScriptBin
, ungoogled-chromium
, binutils
, bridge-utils
, dhcpdump
, dirb
, exiftool
, gef
, ghidra-bin
, gobuster
, iptables-nftables-compat
, macchanger
, masscan
, metasploit
, net-snmp
, nmap
, openvpn
, remmina
, socat
, thc-hydra
, webshells
, weevely
, wfuzz
, burpsuite
, postman
}:
let let
proxybrowser = pkgs.writeShellScriptBin "proxybrowser" '' proxybrowser = writeShellScriptBin "proxybrowser" ''
exec ${pkgs.ungoogled-chromium}/bin/chromium \ exec ${ungoogled-chromium}/bin/chromium \
--disable-background-networking \ --disable-background-networking \
--disable-default-apps \ --disable-default-apps \
--disable-plugins-discovery \ --disable-plugins-discovery \
@ -19,10 +46,12 @@ let
''; '';
in in
pkgs.symlinkJoin { symlinkJoin {
name = "security-toolbox"; name = "security-toolbox";
paths = with pkgs; paths =
[ [
proxybrowser
binutils binutils
bridge-utils bridge-utils
dhcpdump dhcpdump
@ -38,7 +67,6 @@ pkgs.symlinkJoin {
net-snmp net-snmp
nmap nmap
openvpn openvpn
proxybrowser
remmina remmina
socat socat
thc-hydra thc-hydra