calibre-web now does kobo sync
This commit is contained in:
parent
0313c9365a
commit
9f6a184d17
|
@ -90,6 +90,7 @@
|
|||
nur.overlay
|
||||
unstableOverlay
|
||||
self.overlays.additions
|
||||
self.overlays.modifications
|
||||
];
|
||||
});
|
||||
|
||||
|
@ -247,7 +248,6 @@
|
|||
};
|
||||
helix = {
|
||||
hostname = "git.sealight.xyz";
|
||||
autoRollback = false;
|
||||
profiles.system = {
|
||||
user = "root";
|
||||
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
"/var/backup/postgresql" # wallabag
|
||||
"/var/lib/radicale" # radicale
|
||||
"/home/anish/usr/drawing" # syncthing
|
||||
"/home/anish/usr/nonfiction" # syncthing
|
||||
# "/home/anish/usr/nonfiction" # syncthing
|
||||
"/home/anish/usr/finance" # beancount
|
||||
"/mnt/two/postgres" # sealight postgres backups TODO remove once moved to capsul
|
||||
];
|
||||
|
|
|
@ -1,17 +1,22 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
# Unnecessary at this stage
|
||||
#services.calibre-web = {
|
||||
# enable = true;
|
||||
# listen.port = 8083;
|
||||
# openFirewall = true;
|
||||
# # Bug in the module puts this in quotes in the systemd file
|
||||
# # user = calibre;
|
||||
# # group = calibre;
|
||||
# options = {
|
||||
# calibreLibrary = "/data/books";
|
||||
# enableBookUploading = true;
|
||||
# };
|
||||
#};
|
||||
services.calibre-web = {
|
||||
enable = true;
|
||||
listen.port = 8083;
|
||||
openFirewall = true;
|
||||
# Bug in the module puts this in quotes in the systemd file
|
||||
user = "calibre-server";
|
||||
group = "calibre-server";
|
||||
options = {
|
||||
calibreLibrary = "/data/books";
|
||||
enableBookUploading = true;
|
||||
};
|
||||
};
|
||||
|
||||
users.users.calibre-server = {
|
||||
isSystemUser = true;
|
||||
group = "calibre-server";
|
||||
};
|
||||
|
||||
services.calibre-server = {
|
||||
enable = true;
|
||||
|
@ -21,6 +26,8 @@
|
|||
# group = calibre;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ calibre ];
|
||||
|
||||
services.nginx.virtualHosts."books.mossnet.lan" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
192.168.1.240 task.mossnet.lan
|
||||
192.168.1.240 fin.mossnet.lan
|
||||
192.168.1.240 paper.mossnet.lan
|
||||
192.168.1.240 books.mossnet.lan
|
||||
'';
|
||||
# 10.0.69.4 mossnet.lan
|
||||
# 10.0.69.4 links.mossnet.lan
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
# You can change versions, add patches, set compilation flags, anything really.
|
||||
# https://nixos.wiki/wiki/Overlays
|
||||
modifications = final: prev: {
|
||||
calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec {
|
||||
propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff
|
||||
});
|
||||
# example = prev.example.overrideAttrs (oldAttrs: rec {
|
||||
# ...
|
||||
# });
|
||||
|
|
Loading…
Reference in a new issue