I’ve installed snort version 2.9.20 via the unstable channel.
When looking for the configuration file snort.conf, I couldn’t find it anywhere. command: sudo find / -type f -name "snort.conf" 2>/dev/null result: nothing
Do I create it in the same location /etc/snort/snort.conf using home.file?
Or is it recommended to make a flake for snort version 3?
If you are using nix the package-manager on any other distro then nix, yes just create the file.
On nixos if you install a package you only install the binary/s, shell-completions and sometimes other files but basically never configs. For that we use modules, but there doesn’t seem to be a snort module: NixOS Search
You can do it in an imperative manner by just creating the file locally on your machine or you can write a module for snort.