Nix modules: change docspell user to be a normal user

Seems that unoconv requires a shell.
This commit is contained in:
Eike Kettner
2020-03-01 21:34:11 +01:00
parent 0d650616e3
commit de3e07a77c
4 changed files with 19 additions and 4 deletions

10
nix/buildvm.sh Executable file
View File

@ -0,0 +1,10 @@
#!/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