nix/nixos/common/services/opensnitch.nix

10 lines
451 B
Nix
Raw Normal View History

2023-08-31 06:11:44 +02:00
{lib, pkgs, desktop, ... }: {
2023-08-31 06:33:43 +02:00
# Install the UI if we are using a desktop
environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.opensnitch-ui;
2023-08-31 06:11:44 +02:00
services.opensnitch = {
enable = true;
2023-12-17 01:06:31 +01:00
# https://github.com/evilsocket/opensnitch/wiki/Rules
# https://search.nixos.org/options?channel=23.11&show=services.opensnitch.rules&from=0&size=50&sort=relevance&type=packages&query=opensnitch
2023-08-31 06:11:44 +02:00
};
}