diff --git a/flake.nix b/flake.nix index 09c143ad..4d23bf05 100644 --- a/flake.nix +++ b/flake.nix @@ -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 ]; }; diff --git a/profiles/calibre/default.nix b/profiles/calibre/default.nix index 9bbfd24d..488004aa 100644 --- a/profiles/calibre/default.nix +++ b/profiles/calibre/default.nix @@ -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 ]; }