An awesome source of inspiration
Explore the repo »
flake.nix
·
Report Bug
·
Request Feature
Table of Contents
There are many great nix configurations templates available on GitHub; however, this is mine. I like it because:
- It is simplistic
- It is based on flakes, system and home-manager are (re)built together, always. Stop bothering with nixos-rebuild and home-manager switch
- Almost all packages and configuration are on user level either made through home-manager or custom code
Of course, no one nix config will serve everyones taste You may also suggest changes by forking this repo and creating a pull request or opening an issue.
- Install NixOS
- Enable flakes
- Setup your user with a passwd
- Clone the repo
- Make sure to update hardware-configuration.nix (!)
- Tweak the username (here)
- Build it
To rebuild everything and switch to the new build
- full command
nixos-rebuild switch .#<hostname>
- or use the alias
rebuild