iron: generate hardware-configuration

This commit is contained in:
Primrose 2025-10-23 11:41:25 +08:00
parent 9aafa0207c
commit aaa3159a31
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
2 changed files with 6 additions and 8 deletions

View file

@ -30,7 +30,7 @@ This repo is managed with Nix + GNU stow
disko -m disko ./disko.nix # format the drive
# optional for unknown hard ware
nixos-generate-config --no-filesystems --root /mnt --dir . # disko will take care of the file system configuration
nixos-generate-config --no-filesystems --dir . # disko will take care of the file system configuration
# put the generated config in the right path and import it
nixos-install --flake .dotfiles#<hostname>