Hi all,
I really like
GitHub - mitchellh/nixos-config: My NixOS configurations. which setups a complete for NixOs as a development environment in a VM.
I am thinking about making this available to developers in my company.
Unfortunately there are some places in the nixos config where the user name is hardcoded (mitchellh).
How can I make the user name a parameter?
I might ship a prebuild NixOs image with a dummy user and then ask the developer to somehow input the OS user name (as well as github name etc) in the Makefile (maybe) and from then switch the whole setup to use that user.
I want to also the support the user to get updates by doing a git pull for the nixos config and run a rebuild
Any suggestions how this could be done?