mirror of
https://github.com/TheAnachronism/docspell.git
synced 2024-11-13 02:31:10 +00:00
11 lines
260 B
Bash
Executable File
11 lines
260 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-channels/archive/nixos-20.09.tar.gz
|