- add git - to clone the repo, but also for nix develop later
- clone the repo and cd into it
git clone https://github.com/ada4a/nixos-config .dotfiles && cd .dotfiles
- move hardware-configuration.nix to the correct location
cp /etc/nixos/hardware-configuration.nix ~/.dotfiles/system
- load the bootstrapping devShell - has nh & home-manager
nix develop . --extra-experimental-features nix-command --extra-experimental-features flakes
- build the system
- can't switch right away because I'm changing the bootloader from grub (default) to systemd-boot
- also provide the hostname because it's set to "nixos" while in nix-shell
sudo nixos-rebuild boot --flake .#magicbook
- build the home
- switch to the newly-built system
git clone https://github.com/ada4a/lazyvim ~/.config/nvim
- finish setting up Syncthing - accept this device's requests on the other ones