nixos-config/modules/security-tools.nix

24 lines
426 B
Nix
Raw Normal View History

2021-03-28 06:51:59 +00:00
{ config, pkgs, lib, ... }:
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 {
2021-10-04 05:48:11 +00:00
environment.systemPackages = [ pkgs.security-toolbox ];
2021-08-18 17:34:34 +00:00
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
}