nix/nixos/common/services/opensnitch.nix

10 lines
451 B
Nix
Raw Normal View History

2023-08-31 13:11:44 +09:00
{lib, pkgs, desktop, ... }: {
2023-08-31 13:33:43 +09:00
# Install the UI if we are using a desktop
environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.opensnitch-ui;
2023-08-31 13:11:44 +09:00
services.opensnitch = {
enable = true;
2023-12-17 09:06:31 +09: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 13:11:44 +09:00
};
}