mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
security-tools: remove proxybrowser
This commit is contained in:
parent
849e957bb7
commit
b62f9d49bc
1 changed files with 0 additions and 19 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue