Replies: 2 comments
-
|
hi @Axis-xzr ! I don't use nix so I can't help you with why the config file is not created. Regarding the GUI: remove or edit the file Alternatively, you can launch the GUI to listen on the given address: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for your answer, following that i managed to correct the typo error and now i can start the gui again. I had to use the I also found where the configuration file was pulled from with the help of Gnome Systeme Monitor which point to a file inside the nix store which append a path to the binary pointing to the config file to use. Now i still need to understand what is happening with nix setting up things where they shouldn't. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello i recently tried to install opensnitch on NixOs following the wiki ( https://wiki.nixos.org/wiki/OpenSnitch ).
I tried to put everything as clearly as i could in chronologicall manner, thank you in advance for taking the time to read this.
Context:
At first i didn't have issues while following the documentation and creating rules the problem came when i tried to modify preferences.
Installation settings:
Opensnitch and opensnitch-ui are installed via the nix package repositary declaratively.
My nix configuration use the following settings:
Current issues:
Config file doesn't seem to be created properly in the right place while file concerning rules and system-fw.json are:
"/etc/opensnitchd/default-config.json" opensnitchd directory is present but config file is missing.
When i was able to start opensnitch with sudo permission which was the only way to connect to the socket i had error at the bottom of the preference gui displaying "unable to write in "/etc/opensnitchd/default-config.json" read only permission" i think it was i didn't take screenshot.
After some modification i made through the gui to the socket following the documentation i m unable to start the gui anymore due to a typo error i made which will show up in the following debug log (nix instead of unix) .
What i tried
Right now i m quite confuse as to what is happening since when started with sudo the following string with typo "nix:///run/user/1000/opensnitch/osui.sock" is pulled from a file somewhere but i failed to identify the location or the file containing it.
Beta Was this translation helpful? Give feedback.
All reactions