To install my main system config you can run
sudo nixos-rebuild switch --flake .#main
To install my home manager config (probably this is what you want, for dotfiles; will probably need to update user name and some other stuff)
home-manager switch --flake .#alex