This is my Nix flake configuration for all my machines. To build it, you can just run
nixos-rebuild switch --flake sr.ht:~dala/nixos-flake-config#{machine_name}