This is the configuration for all of my NixOS machines, based on the dendritic pattern.
It exposes 3 system configurations, TimsKleinerPC for my desktop, TimsLaptop for my laptop and NixOSNAS for my homeserver.
It it manages my disk partitions using disko and keeps my files organized using impermanence. I have all my machines using zfs.
Secrets are managed using sops-nix.
Installing is done most easily using nixos-anywhere.
Just run nix run github:nix-community/nixos-anywhere -- --flake '.#TimsLaptop' --target-host nixos@192.168.0.218 after setting a password in the installer.