Ensure you are on the unstable channel:
nix-channel --add https://nixos.org/channels/nixos-unstable nixos
Also add sane hardware defaults with nixos-hardware
sudo nix-channel --add https://github.com/NixOS/nixos-hardware/archive/master.tar.gz nixos-hardware
sudo nix-channel --update
# Without flakes
nixos-rebuild -I nixos-config=./base.nix switch
# With flakes
sudo nixos-rebuild switch --flake .#chun-lappy
There's no good way to configure mutt/neomutt using Nix configurations, so we can just symlink/copy the folder over.
ln -sf /home/chun/dotnix/config/mutt ~/.config/mutt
If you're running wireguard on boot (wifi), wg0 will fail to autostart, so autostart is disabled. To start the vpn, run:
sudo systemctl start wg-quick-wg0