Service calibre

This commit is contained in:
nyanloutre 2018-05-03 00:39:26 +02:00
parent 7382b41c3b
commit c9ec7123a3
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ in
riot = { ip = "127.0.0.1"; port = riot_port; auth = false; };
matrix = { ip = "127.0.0.1"; port = 8008; auth = false; };
organizr = { ip = "127.0.0.1"; port = organizr_port; auth = true; };
calibre = { ip = "127.0.0.1"; port = 8080; auth = false; };
};
services.mailserver.enable = true;
@ -189,6 +190,12 @@ in
'';
};
services.calibre-server.enable = true;
services.calibre-server.libraryDir = "/var/lib/calibre";
users.extraUsers.calibre-server = {
home = "/var/lib/calibre";
};
networking.firewall.allowedTCPPorts = [
111 2049 4000 4001 4002 # NFS
3483 9000 9090 # Slimserver