peroxide
peroxide copied to clipboard
Default settings directory
The default settings directory of /etc/peroxide seems to conflate the idea of application state and configuration. The following values are all application state, not configuration:
https://github.com/ljanyst/peroxide/blob/89164ae00632083a61a44ac51df70435e49e9901/config.example.yaml#L8-L11
Generally /etc/ is meant to be immutable to all except root and these values should reside in /var/lib/peroxide instead.
I understand this would be a fairly breaking change, but I'm curious if you would be receptive of such a change?
If you like, you could change the defaults for the cookie jar and the credential's store and I'd merge such change. For the X509 stuff, I usually change it to let's encrypt certs, which are located in /etc/letsencrypt, so I would not change these.