security-tools: remove proxybrowser

This commit is contained in:
Sean Buckley 2023-01-15 19:14:25 -05:00
parent 849e957bb7
commit b62f9d49bc

View file

@ -3,31 +3,12 @@ let
cfg = config.sconfig.security-tools; cfg = config.sconfig.security-tools;
proxybrowser = pkgs.writeShellScriptBin "proxybrowser" ''
exec ${pkgs.chromium}/bin/chromium \
--disable-background-networking \
--disable-default-apps \
--disable-plugins-discovery \
--disk-cache-size=0 \
--ignore-certificate-errors \
--no-default-browser-check \
--no-experiments \
--no-first-run \
--no-pings \
--no-service-autorun \
--user-data-dir="$HOME/.proxybrowser" \
--proxy-server="localhost:8080" \
--proxy-bypass-list='<-loopback>'
'';
in in
{ {
options.sconfig.security-tools = lib.mkEnableOption "Enable security tools"; options.sconfig.security-tools = lib.mkEnableOption "Enable security tools";
config = lib.mkIf cfg { config = lib.mkIf cfg {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
proxybrowser
binutils binutils
bridge-utils bridge-utils
burpsuite burpsuite