docspell/nix/buildvm.sh
eikek 6fed858629 Update nix expressions for 21.05
Also remove lots of old releases declared in release.nix.
2021-06-18 22:27:29 +02:00

11 lines
251 B
Bash
Executable File

#!/usr/bin/env bash
if [ "$1" = "-f" ]; then
echo "Deleting current state image..."
rm *.qcow2
fi
nixos-rebuild build-vm \
-I nixos-config=./configuration-test.nix \
-I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz