This is a bare-metal physical nixos server!
# load nixos iso
# nixos-up
sudo nix-shell https://nix.cobi.dev/os-up
# generate ssh key, add to github
ssh-keygen -o -a 100 -t ed25519 -C "jacobi@luna"
# clone repo
nix-shell -p git
git clone [email protected]:jpetrucciani/nix.git ~/cfg
cd ~/cfg
# initial switch. after this, you can use just `hms` to update!
$(nix build --no-link --print-out-paths --extra-experimental-features nix-command --extra-experimental-features flakes ~/cfg#hmx.luna)/bin/switch
This file defines the OS configuration for the luna
machine.
This is an auto-generated file that configures disks and other plugins for nixos.