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