docspell/nix/buildvm.sh
Eike Kettner de3e07a77c Nix modules: change docspell user to be a normal user
Seems that unoconv requires a shell.
2020-03-01 21:34:11 +01:00

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-19.09.tar.gz