From f9947192cb86c2cdef137998f4b743f5f0f1e8bb Mon Sep 17 00:00:00 2001 From: Christopher Crouse Date: Tue, 17 Oct 2023 18:00:48 +0000 Subject: [PATCH] nixos/opensnitch: fix typo and enable new system rules Fixed typo to enable [new system rules](https://github.com/evilsocket/opensnitch/wiki/System-rules#upgrading-from-previous-versions) Fixes: https://github.com/NixOS/nixpkgs/issues/256290 --- nixos/modules/services/security/opensnitch.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/security/opensnitch.nix b/nixos/modules/services/security/opensnitch.nix index 013aeb16756c..97ac3a72804c 100644 --- a/nixos/modules/services/security/opensnitch.nix +++ b/nixos/modules/services/security/opensnitch.nix @@ -172,7 +172,7 @@ in { ln -sf '${file}' "${local}" '') rules} - if [ ! -f /etc/opensnitch-system-fw.json ]; then + if [ ! -f /etc/opensnitchd/system-fw.json ]; then cp "${pkgs.opensnitch}/etc/opensnitchd/system-fw.json" "/etc/opensnitchd/system-fw.json" fi '');