diff --git a/devices/server.nix b/devices/server.nix index c296bc8..7204d6e 100755 --- a/devices/server.nix +++ b/devices/server.nix @@ -147,7 +147,7 @@ let }; calibre-web = { enable = true; - #package = last-stable.calibre-web; + package = last-stable.calibre-web; group = "users"; user = "${inputs.zeroq.devices.admin}"; options = { diff --git a/flake.lock b/flake.lock index 9786941..11872b7 100755 --- a/flake.lock +++ b/flake.lock @@ -232,6 +232,22 @@ "type": "github" } }, + "nixos": { + "locked": { + "lastModified": 1753549186, + "narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "17f6bd177404d6d43017595c5264756764444ab8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, "nixos-facter-modules": { "locked": { "lastModified": 1750412875, @@ -465,6 +481,7 @@ "musnix": "musnix", "nix-gaming": "nix-gaming", "nix-index-database": "nix-index-database", + "nixos": "nixos", "nixos-facter-modules": "nixos-facter-modules", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_2", diff --git a/flake.nix b/flake.nix index 5d2fa3e..bd7b22a 100755 --- a/flake.nix +++ b/flake.nix @@ -14,6 +14,7 @@ nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs-fingerprint.url = "github:NixOS/nixpkgs/nixos-24.11"; + nixos.url = "github:NixOS/nixpkgs/nixos-unstable"; # nix-community nixos-facter-modules.url = "github:numtide/nixos-facter-modules"; diff --git a/modules/server/immich.nix b/modules/server/immich.nix index b78b462..3501c0f 100755 --- a/modules/server/immich.nix +++ b/modules/server/immich.nix @@ -5,9 +5,13 @@ pkgs, ... }: + let + unstable = import inputs.nixos { system = "x86_64-linux"; }; + in { services = { immich = { + package = unstable.immich; enable = true; port = 2283; host = "0.0.0.0";