This commit is contained in:
2025-11-02 13:21:53 +03:00
parent b649db807e
commit 839c028212
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
# nixpkgs # nixpkgs
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
# nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f"; # nixpkgs-last-unstable.url = "github:NixOS/nixpkgs/6b4955211758ba47fac850c040a27f23b9b4008f";
nixpkgs-calibre.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb"; # nixpkgs-calibre.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb";
nixpkgs-master.url = "github:NixOS/nixpkgs/master"; nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11"; #nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
+4 -4
View File
@@ -4,14 +4,14 @@
inputs, inputs,
... ...
}: }:
let # let
work = import inputs.nixpkgs-master { system = "x86_64-linux"; }; # work = import inputs.nixpkgs-master { system = "x86_64-linux"; };
in # in
{ {
# services.calibre-server.package = stable.calibre; # services.calibre-server.package = stable.calibre;
services.calibre-web = { services.calibre-web = {
enable = true; enable = true;
package = work.calibre-web; # package = work.calibre-web;
group = "users"; group = "users";
user = "${xlib.device.username}"; user = "${xlib.device.username}";
options = { options = {