Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Hmm 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.


It'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)

I haven't used home-manager, but it looks like a bloated thing that I don't need in my life.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: