security-tools: add proxybrowser script

This commit is contained in:
Sean Buckley 2021-08-18 17:54:23 -04:00
parent 29fad1cec0
commit 20d9305105

View file

@ -1,6 +1,25 @@
{ config, pkgs, lib, ... }:
let
cfg = config.sconfig.security-tools;
proxybrowser = pkgs.writeShellScriptBin "proxybrowser" ''
exec ${pkgs.ungoogled-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
{
options.sconfig.security-tools = lib.mkEnableOption "Enable security tools";
@ -23,6 +42,7 @@ in
nmap
openvpn
postman
proxybrowser
remmina
socat
thc-hydra