Geoffrey Frogeye
6444f8f517
While I might still bikeshed how the rest of the configuration is sourced, at least the import points should be stable.
12 lines
283 B
Bash
Executable file
12 lines
283 B
Bash
Executable file
#!/usr/bin/env nix-shell
|
|
#! nix-shell -i bash
|
|
#! nix-shell -p bash nix-output-monitor
|
|
|
|
# Build a NixOS VM for testing
|
|
|
|
set -euo pipefail
|
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
|
|
|
nom-build '<nixpkgs/nixos>' -A vm \
|
|
-I nixos-config=./os.nix
|