nix/nixos/common/services/opensnitch.nix

8 lines
239 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;
};
}