nixos-config/modules/security-tools.nix

58 lines
987 B
Nix
Raw Normal View History

2022-07-24 16:24:35 +00:00
{ config, lib, pkgs, ... }:
2021-03-28 06:51:59 +00:00
let
2021-03-28 06:51:59 +00:00
cfg = config.sconfig.security-tools;
2021-03-28 06:51:59 +00:00
in
2020-09-18 13:54:09 +00:00
{
2021-03-28 06:51:59 +00:00
options.sconfig.security-tools = lib.mkEnableOption "Enable security tools";
config = lib.mkIf cfg {
2022-07-24 16:24:35 +00:00
environment.systemPackages = with pkgs; [
binutils
bridge-utils
burpsuite
dhcpdump
dirb
exiftool
feroxbuster
ffuf
gef
ghidra-bin
gobuster
iptables-nftables-compat
macchanger
masscan
metasploit
msfpc
net-snmp
nmap
openvpn
postman
pwndbg
remmina
seclists
2022-07-24 16:24:35 +00:00
socat
thc-hydra
webshells
weevely
wfuzz
];
2021-08-18 17:34:34 +00:00
system.activationScripts.seclists = ''
mkdir -m 0755 -p /usr/share
ln -sf /run/current-system/sw/share/seclists /usr/share/
'';
2021-03-28 06:52:09 +00:00
programs = {
wireshark.enable = true;
wireshark.package = pkgs.wireshark;
};
2021-03-28 06:48:01 +00:00
2022-02-25 14:51:51 +00:00
users.users.zim = {
2022-03-28 05:15:58 +00:00
uid = 2099;
isNormalUser = true;
2021-03-28 06:52:09 +00:00
};
2021-03-28 06:51:59 +00:00
};
2020-09-18 13:54:09 +00:00
}