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

View File

@ -600,7 +600,9 @@ in {
users.users."${user}" = mkIf (cfg.runAs == null) {
name = user;
isSystemUser = true;
isSystemUser = false;
createHome = true;
home = "/var/docspell";
description = "Docspell user";
};
@ -613,7 +615,6 @@ in {
description = "Unoconv Listener";
after = [ "networking.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.unoconv ];
serviceConfig = {
Restart = "always";
};