diff options
author | Christopher Crouse <mail@amz-x.com> | 2023-10-17 18:00:48 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 18:00:48 +0000 |
commit | f9947192cb86c2cdef137998f4b743f5f0f1e8bb (patch) | |
tree | 2f209bda75935b41cce0705c06f38298b391ce11 /nixos/modules/services/security | |
parent | cb44be3b012215051430b812592574fa23f72643 (diff) |
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
Diffstat (limited to 'nixos/modules/services/security')
-rw-r--r-- | nixos/modules/services/security/opensnitch.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/security/opensnitch.nix b/nixos/modules/services/security/opensnitch.nix index 013aeb16756cd..97ac3a72804c2 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 ''); |