Here is my global NixOS configuration
Check if Nix version is >= 2.4
nix --versionAllow experimental flakes
export NIX_CONFIG="experimental-features = nix-command flakes"Clone this repo
git clone https://github.com/eRgo35/nix-config ~/.dotscd ~/.dotsApply system configuration
sudo nixos-rebuild switch --flake .#hostApply user configuration
home-manager switch --flake .#user@host