This repository reflects my try at learning NixOS, it contains my current configurations.
To update your NixOS system to one of my configurations, you can use the following command:
nixos-rebuild switch --flake '.#<configuration_name>'
Note that you have to update the corresponding hardware configuration to fit your system before you can run the command. You might also want to change the username beforehand.
I am using 5 modules that specify common modules that should be used on all systems of that specific type:
Name | Description | Inherited Module |
---|---|---|
common | all my systems | |
gui-common | only systems with gui | common |
laptop | laptop systems | gui-common |
desktop | desktop systems | gui-common |
server | server systems | common |
Above modules definitions are also used in home manager.