This is to describe the barebones development system I use. Supports NixOS on WSL, Intel and Silicon Macs.
On OSX: Determinate Systems Installer. On WSL2: WSL2 Nix
Warning
I haven't tested bootstrapping this yet, especially on an "unknown" host.
sudo nixos-install --flake github:evantravers/dotfiles#nixos
nix run nix-darwin -- switch --flake github:evantravers/dotfiles
sudo nixos-rebuild switch --flake ~/src/github.com/evantravers/dotfiles
darwin-rebuild switch --flake ~/src/github.com/evantravers/dotfiles
You could use something like this to import my home-manager standalone.
{ config, pkgs, ... }: {
home-manager.users.evan = import ./home-manager/home.nix;
}