Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.01 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.01 KB

NixOS

This repository reflects my try at learning NixOS, it contains my current configurations.

Usage

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.

Type modules

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.