Is there other proper solution for me to get git SSH working on /etc/nixos/ folder.
When it is on root as default I can’t get git/ash to connect to repo due SSH pub key authentication issue, but when I make that folder only to user it works, but I drop some security on it?
This is because I want to push my configs to repo backup feature so I would prefer default folder structure and permissions with ash and key to work.
You can keep anything you care about somewhere else and copy it into /etc/nixos before rebuilding. I do that and I think probably lots of other people do too?