nixos: add module 'opensnitch'

This commit is contained in:
Nico 2025-05-03 16:16:01 +10:00
parent e1bdc1e7fa
commit b69c2a94e9
2 changed files with 24 additions and 0 deletions

View 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
];
}