There are security concerns if you put sensitive values like passwords or api keys into your config, but sops-nix offers a solution to that. Its not for everybody, theres a big learning curve since you have to learn nixlang, but it solves a lot of longstanding computer configuration problems well