I’m trying to achieve a one-click Nix/OS playground in GitHub Codespaces, for didactic purposes.
Attempt #1: Quick-and-dirty “docker run -it nixos/nix” succeeds, but obviously does not allow access to repo files.
Attempt #2: building the nixos image directly using .devcontainer.json (“image”: “nixos/nix”), but I’m getting a fatal error on rebuild:
Has anyone successfully run NixOS at the repo level in GitHub Codespaces? I’m only a *nix apprentice, so I welcome any hints along the narrow path to wisdom.
Thanks in advance for your insights! I’ll keep poking around until I make progress.