Making it your own
Despite my best efforts to advise against it, many of you still choose to do so. So here is a guide on how to make it your own.
- There are a number of files you’ll want to edit, but the best place to start is renaming the
isabeluser to your own user. - User configuration:
- Edit
/modules/base/users/options.nixand change any mentions ofisabelto your username. - Create a file that will contain your SSH key at
/modules/base/users/<user>.nix. - Edit
/modules/nixos/users/<user>.nixto add your encrypted password, generated withmkpasswd.
- Edit
- Picking a host:
- I host a number of different types of hosts, so there is likely one that will nicely match yours. To check what is a good match for you, look at the hosts table.
- Once you’ve picked the ideal host, rename
/systems/<old>/to your preferred hostname. - Update the matching entry in
nixosConfigurations(ordarwinConfigurations) in/modules/flake/default.nixso the name lines up. See Adding systems for the available options. - Make any needed adjustments. This should include renaming the home-manager users and configuring the options.
- Edit
modules/nixos/environment/locale.nixso that you have the correct timezone and locale. - You likely don’t want to use my Lix fork, so regex-replace
izlixwith your preferred Nix implementation. If your preferred Nix implementation does not support nestedinput.followsyou’ll have to edit theflake.nix. - There is a lot of maintenance burden in this repository, so see what you can remove safely. There’s no safe way to guide you on this — best of luck.