Skip to content

namnd/home

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home

Where everything starts

Host - MacOS

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.

Virtual Machine - NixOS

Skip step 1-3 if you already have a NixOS VM UTM template, which can be downloaded from here

  1. 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
  2. Start the VM and set root password as root

$ sudo -i
$ passwd
  1. From this repo, run command to install NixOS
$ make install

Once finish installing, shutdown the VM, remove bootable ISO, then start the VM again.

  1. 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!