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, ... }:
let
mypkgs = import ./pkgs self;
mypkgs = import ./pkgs;
in
{
nixosModules =

View file

@ -1,4 +1,3 @@
self:
pkgs:
let
@ -16,10 +15,8 @@ let
{
binaryninja = pkgs.callPackage ./binary-ninja-personal { };
packettracer = pkgs.callPackage ./packettracer { };
security-toolbox = pkgs.callPackage ./security-toolbox { inherit (allArchs) gef webshells weevely; };
SpaceCadetPinball = pkgs.callPackage ./SpaceCadetPinball { };
security-toolbox = pkgs.callPackage ./security-toolbox {
pkgs = pkgs // self.packages.${pkgs.system};
};
};
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
proxybrowser = pkgs.writeShellScriptBin "proxybrowser" ''
exec ${pkgs.ungoogled-chromium}/bin/chromium \
proxybrowser = writeShellScriptBin "proxybrowser" ''
exec ${ungoogled-chromium}/bin/chromium \
--disable-background-networking \
--disable-default-apps \
--disable-plugins-discovery \
@ -19,10 +46,12 @@ let
'';
in
pkgs.symlinkJoin {
symlinkJoin {
name = "security-toolbox";
paths = with pkgs;
paths =
[
proxybrowser
binutils
bridge-utils
dhcpdump
@ -38,7 +67,6 @@ pkgs.symlinkJoin {
net-snmp
nmap
openvpn
proxybrowser
remmina
socat
thc-hydra