mirror of
https://github.com/kaesaecracker/nixos-configuration.git
synced 2025-01-18 18:40:14 +01:00
11 lines
398 B
Markdown
11 lines
398 B
Markdown
# nixos-configuration
|
|
|
|
When adding a new host:
|
|
1. install NixOS via the graphical installer
|
|
2. `mv /etc/hardware-configuration ./devicename-hardware-configuration.nix`
|
|
3. copy an existing devicename.nix
|
|
5. change import to `new-devicename-hardware-configuration.nix`
|
|
6. set the hostname and optional imports in `new-devicename.nix`
|
|
7. `ln -s ./new-devicename.nix /etc/nixos/configuration`
|
|
8. apply
|