add makefile for building iso

This commit is contained in:
James Andariese 2025-04-18 01:02:37 -05:00
parent a0a3019abd
commit 1c95536358
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ result
.*
!.git*
*poop*
*.iso

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
installer.iso: flake.nix modules hosts/installer.nix
nix build .#nixosConfigurations.installer.config.system.build.isoImage
cp result/iso/nixos-*.iso installer.iso