- Put NixOS on a USB drive and go thorugh installation
nix-shell -p gitssh-keygen -t ed25519 -C "[email protected]"
cat ~/.ssh/id_ed25519.pub
# Paste this into GitHub
mkdir ~/.nixos
git clone [email protected]:Zabuddia/ModularNixOS.git ~/.nixos- Edit hosts.nix and users-list.nix in the modules/config/ directory to be what you want
sudo cp /etc/nixos/hardware-configuration.nix ~/.nixos/hosts/<your-hostname>-hardware.nix
cd ~/.nixos
sudo nixos-rebuild switch --flake .#<your-hostname>