nix/nixos/common/services/opensnitch.nix
iFargle 6d0bf60626
Some checks failed
build-linode-img / build-linode-img (push) Failing after 29s
Cleanup
2023-12-17 09:06:31 +09:00

10 lines
No EOL
451 B
Nix

{lib, pkgs, desktop, ... }: {
# Install the UI if we are using a desktop
environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.opensnitch-ui;
services.opensnitch = {
enable = true;
# 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
};
}