diff --git a/nixos/common/services/opensnitch.nix b/nixos/common/services/opensnitch.nix index 545b322d..2226467d 100644 --- a/nixos/common/services/opensnitch.nix +++ b/nixos/common/services/opensnitch.nix @@ -1,5 +1,6 @@ {lib, pkgs, desktop, ... }: { - environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) opensnitch-ui; + # Install the UI if we are using a desktop + environment.systemPackages = [ ] ++ lib.optional (builtins.isString desktop) pkgs.opensnitch-ui; services.opensnitch = { enable = true;