fix eww
add calibre-server working
This commit is contained in:
parent
b7c7678a0a
commit
4c7bc267c3
|
@ -67,6 +67,7 @@
|
||||||
, grasp
|
, grasp
|
||||||
, tidalcycles
|
, tidalcycles
|
||||||
, neovim-nightly
|
, neovim-nightly
|
||||||
|
, rust-overlay
|
||||||
, eww
|
, eww
|
||||||
, ...
|
, ...
|
||||||
} @ inputs:
|
} @ inputs:
|
||||||
|
@ -90,6 +91,7 @@
|
||||||
./pkgs/default.nix
|
./pkgs/default.nix
|
||||||
tidalcycles.overlays.default
|
tidalcycles.overlays.default
|
||||||
neovim-nightly.overlay
|
neovim-nightly.overlay
|
||||||
|
rust-overlay.overlay
|
||||||
eww.overlays.default
|
eww.overlays.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
listen.port = 8083;
|
listen.port = 8083;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
user = "calibre";
|
# Bug in the module puts this in quotes in the systemd file
|
||||||
group = "calibre";
|
# user = calibre;
|
||||||
|
# group = calibre;
|
||||||
options = {
|
options = {
|
||||||
calibreLibrary = "/data/books";
|
calibreLibrary = "/data/books";
|
||||||
enableBookUploading = true;
|
enableBookUploading = true;
|
||||||
|
@ -14,8 +15,9 @@
|
||||||
services.calibre-server = {
|
services.calibre-server = {
|
||||||
enable = true;
|
enable = true;
|
||||||
libraries = [ "/data/books" ];
|
libraries = [ "/data/books" ];
|
||||||
user = "calibre";
|
# Bug in the module puts this in quotes in the systemd file
|
||||||
group = "calibre";
|
# user = calibre;
|
||||||
|
# group = calibre;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."books.mossnet.lan" = {
|
services.nginx.virtualHosts."books.mossnet.lan" = {
|
||||||
|
@ -29,4 +31,6 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ 8080 ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue