Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Automating building nixos isos for VMs running on m1 Macs

Notifications You must be signed in to change notification settings

TobiasBales/nixos-m1-arm-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building nixos images in docker

This can be used to build nixos isos to run on an m1 Mac in Parallels/a VM.

Since the docker base image being used is aarch64 when run an an m1 Mac, it generates the matching iso which works out of the box (only tested in parallels).

Getting started

Run build script

./build.sh

This will write the iso to nixos.iso

Create new VM in parallels

Start parallels and select the created iso. You probably want to check CPU/RAM assignments when starting.

Install NixOS

By following the official installation procedure

I went the UEFI route but MBR should also work.

About

Automating building nixos isos for VMs running on m1 Macs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published