I just keep my home folder in /etc/username and use this construct:
(just an example, not actual)
environment.etc = {
"qemu/bridge.conf".text = ''allow br0'';
"username/.inputrc".text = ''
\$include /etc/inputrc
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
'';
};
to write configs into /etc proper and my home folder.
(just an example, not actual)
environment.etc = {
};to write configs into /etc proper and my home folder.