mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
security-tools: add proxybrowser script
This commit is contained in:
parent
29fad1cec0
commit
20d9305105
1 changed files with 20 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue