Where everything starts
Applications are downloaded and installed manually.
Run ./host/install.sh
script to create symlinks for configuration files.
Once in a while, run ./host/cleanup.sh
script to clean up some storage.
Skip step 1-3 if you already have a NixOS VM UTM template, which can be downloaded from here
-
Use UTM to create a new VM with the following settings:
- Custom: Virtualize
- Preconfigured: Linux
- Boot ISO Image: download minimal ISO image from NixOS
- Memory:
10240
(on 16GB host) - CPU:
8
(on 10-core host) - Disk:
100GB
- Name:
NixOS
- Network:
Emulated VLAN
with Port Forwarding on port 22
-
Start the VM and set root password as
root
$ sudo -i
$ passwd
- From this repo, run command to install NixOS
$ make install
Once finish installing, shutdown the VM, remove bootable ISO, then start the VM again.
- Check out the
Makefile
and./vm/bootstrap.nix
and make necessary changes to your custom details, then run command
$ make bootstrap
And it's good to go!