From 19433439f2291b12bc65b48a2192bf26793cf97c Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 21 Oct 2025 15:53:22 +0300 Subject: [PATCH] 123 --- flake.nix | 3 ++- modules/server/calibre-web.nix | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index c35c2e7..552f326 100755 --- a/flake.nix +++ b/flake.nix @@ -7,7 +7,8 @@ # nixpkgs nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; - nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; # 6027c30c8e9810896b92429f0092f624f7b1aace + nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; + calibre.url = "github:NixOS/nixpkgs/c7e00447194154630ea33ad4453e5b35c1720eaa"; #nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs-master.url = "github:NixOS/nixpkgs/master"; # e63467437ce61d8d9a36e09254e8d07b472da0c6 # 72353fc1fa61189fb76133d50c519e871c858c39 # 5b38c7435fb1112a8b36b1652286996a7998c5b5 nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; diff --git a/modules/server/calibre-web.nix b/modules/server/calibre-web.nix index a5cc3fe..482b66e 100644 --- a/modules/server/calibre-web.nix +++ b/modules/server/calibre-web.nix @@ -3,9 +3,15 @@ xlib, ... }: +let + fix = import inputs.calibre { + system = "x86_64-linux"; + }; # temp +in { services.calibre-web = { enable = true; + package = fix.calibre-web; group = "users"; user = "${xlib.device.username}"; options = {