8 lines
226 B
Bash
Executable file
8 lines
226 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
export NIXPKGS_ALLOW_UNFREE=1
|
|
|
|
RESULT=$(nix-build -E 'import ((import ./npins).nixpkgs + "/nixos")' -A config.system.build.vm -I nixos-config=configuration.nix --no-out-link $@)
|
|
|
|
$RESULT/bin/run-nixos-vm
|