iron: init

add installer for macbook-pro-2009

repurpose tungsten disko config for iron

installer-macbook-pro-2009: enable b43 driver

README: document how to wipe filesystem

iron: generate hardware-configuration

iron: discard unused modules

iron: include macbook specific modules

iron: remove custom fs configurations
This commit is contained in:
Primrose 2025-10-23 10:46:05 +08:00
parent 1e63c7bb53
commit 99b1dda7ba
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
19 changed files with 761 additions and 1 deletions

View file

@ -4,6 +4,7 @@ This repo is managed with Nix + GNU stow
- Generate image & boot
We do this because the default one doesn't have all the utilities we want (e.g. disko).
- generate image `nom-build --attr nixosConfigurations.installer.config.system.build.isoImage`
- wipe the disk's fs with `wipefs`
- `dd` the image to a flash drive (remember to `sync`)
- boot off that flash drive
@ -29,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
# We do -j 1 because otherwise the kernel or the fonts might use too much