this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

calibre-web now does kobo sync

+26 -15
+1 -1
flake.nix
··· 90 90 nur.overlay 91 91 unstableOverlay 92 92 self.overlays.additions 93 + self.overlays.modifications 93 94 ]; 94 95 }); 95 96 ··· 247 248 }; 248 249 helix = { 249 250 hostname = "git.sealight.xyz"; 250 - autoRollback = false; 251 251 profiles.system = { 252 252 user = "root"; 253 253 path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.helix;
+1 -1
hosts/box/default.nix
··· 42 42 "/var/backup/postgresql" # wallabag 43 43 "/var/lib/radicale" # radicale 44 44 "/home/anish/usr/drawing" # syncthing 45 - "/home/anish/usr/nonfiction" # syncthing 45 + # "/home/anish/usr/nonfiction" # syncthing 46 46 "/home/anish/usr/finance" # beancount 47 47 "/mnt/two/postgres" # sealight postgres backups TODO remove once moved to capsul 48 48 ];
+20 -13
hosts/profiles/calibre/default.nix
··· 1 + { pkgs, ... }: 1 2 { 2 - # Unnecessary at this stage 3 - #services.calibre-web = { 4 - # enable = true; 5 - # listen.port = 8083; 6 - # openFirewall = true; 7 - # # Bug in the module puts this in quotes in the systemd file 8 - # # user = calibre; 9 - # # group = calibre; 10 - # options = { 11 - # calibreLibrary = "/data/books"; 12 - # enableBookUploading = true; 13 - # }; 14 - #}; 3 + services.calibre-web = { 4 + enable = true; 5 + listen.port = 8083; 6 + openFirewall = true; 7 + # Bug in the module puts this in quotes in the systemd file 8 + user = "calibre-server"; 9 + group = "calibre-server"; 10 + options = { 11 + calibreLibrary = "/data/books"; 12 + enableBookUploading = true; 13 + }; 14 + }; 15 + 16 + users.users.calibre-server = { 17 + isSystemUser = true; 18 + group = "calibre-server"; 19 + }; 15 20 16 21 services.calibre-server = { 17 22 enable = true; ··· 20 25 # user = calibre; 21 26 # group = calibre; 22 27 }; 28 + 29 + environment.systemPackages = with pkgs; [ calibre ]; 23 30 24 31 services.nginx.virtualHosts."books.mossnet.lan" = { 25 32 enableACME = false;
+1
hosts/profiles/mossnet-hosts/default.nix
··· 10 10 192.168.1.240 task.mossnet.lan 11 11 192.168.1.240 fin.mossnet.lan 12 12 192.168.1.240 paper.mossnet.lan 13 + 192.168.1.240 books.mossnet.lan 13 14 ''; 14 15 # 10.0.69.4 mossnet.lan 15 16 # 10.0.69.4 links.mossnet.lan
+3
overlays/default.nix
··· 7 7 # You can change versions, add patches, set compilation flags, anything really. 8 8 # https://nixos.wiki/wiki/Overlays 9 9 modifications = final: prev: { 10 + calibre-web = prev.calibre-web.overrideAttrs (prevAttrs: rec { 11 + propagatedBuildInputs = prevAttrs.propagatedBuildInputs ++ [ final.python3.pkgs.jsonschema ]; # allow kobo sync stuff 12 + }); 10 13 # example = prev.example.overrideAttrs (oldAttrs: rec { 11 14 # ... 12 15 # });