Merge pull request #261684 from amz-x/opensnitch-fix-typo

nixos/opensnitch: fix typo and enable new system rules
This commit is contained in:
Jonas Heinrich 2023-10-17 22:58:08 +02:00 committed by GitHub
commit b78671bc70
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,7 +172,7 @@ in {
ln -sf '${file}' "${local}" ln -sf '${file}' "${local}"
'') rules} '') 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" cp "${pkgs.opensnitch}/etc/opensnitchd/system-fw.json" "/etc/opensnitchd/system-fw.json"
fi fi
''); '');