forked from nico/dots
nixos: add module 'opensnitch'
This commit is contained in:
parent
e1bdc1e7fa
commit
b69c2a94e9
2 changed files with 24 additions and 0 deletions
16
modules/linux/opensnitch.nix
Normal file
16
modules/linux/opensnitch.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.opensnitch = {
|
||||
enable = true;
|
||||
settings = {
|
||||
DefaultAction = "allow";
|
||||
LogLevel = 2;
|
||||
Stats.MaxEvents = 3;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.opensnitch-ui
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue