This commit is contained in:
2025-11-02 12:27:50 +03:00
parent f9cfb9b9a1
commit ee8a6b9d55
2 changed files with 7 additions and 5 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
# nixpkgs
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-web.url = "github:NixOS/nixpkgs/e6f23dc08d3624daab7094b701aa3954923c6bbb";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05";
#nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11";
+5 -4
View File
@@ -5,15 +5,16 @@
...
}:
let
stable = import inputs.nixpkgs-stable {
system = "x86_64-linux";
};
work = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/e6f23dc08d3624daab7094b701aa3954923c6bbb.tar.gz";
}) {};
# myPkg = work.calibre-web;
in
{
# services.calibre-server.package = stable.calibre;
services.calibre-web = {
enable = true;
# package = stable.calibre-web;
package = work.calibre-web;
group = "users";
user = "${xlib.device.username}";
options = {