nixos-flake
nixos-flake copied to clipboard
Add nixosTest
https://nix.dev/tutorials/integration-testing-using-virtual-machines
We want to test that running nix run .#activate (on ./examples/*) will do what it is supposed to do.
Open question: what do we use to test on macOS?
Regressions like https://github.com/srid/nixos-flake/commit/fab75907cfc0c4e48ceab7a7194f019b55828895 could have been caught by this.