You need to have git installed before installing the config.
git
cd git clone https://github.com/Totorile1/nixos.git cd ./nixos sudo nixos-rebuild switch --flake ~/nixos/#laptop