3 ms·
Do you mean `home-manager switch` or is there a feature in nixos to touch home folders?
by seqizz 8y ago
Do you mean `home-manager switch` or is there a feature in nixos to touch home folders?
- xaduha 8y agoI 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.
- seqizz 8y agoHmm that's way radical than I thought. If I understand correctly, this is a read-only home folder. Would be interesting to use, I'll give it a try.
- xaduha 8y agoIt's not read-only, but you need to reset the rights on it if you delete and rebuild it (chown probably can be put here https://nixos.org/nixos/options.html#activationscripts https://nixos.org/nixos/options.html#activationscripts) I haven't used home-manager, but it looks like a bloated thing that I don't need in my life.