331 B
331 B
nixos-configuration
When adding a new host:
- install NixOS via the graphical installer
mv /etc/hardware-configuration ./devicename-hardware-configuration.nix- copy an existing devicename.nix
- change import to new-devicename-hardware-configuration.nix
ln -s ./new-devicename.nix /etc/nixos/configuration- apply