This commit is contained in:
2025-08-07 13:33:06 +03:00
parent 701b68f46b
commit 7a8413dbbf
9 changed files with 109 additions and 128 deletions
-17
View File
@@ -1,27 +1,10 @@
{
config,
lib,
pkgs,
...
}:
# let
# customPackage = pkgs.stirling-pdf.overrideAttrs (oldAttrs: {
# src = pkgs.fetchFromGitHub {
# owner = "Stirling-Tools";
# repo = "Stirling-PDF";
# rev = "v1.1.1";
# sha256 = "0sphh65fdccnajdby9idy5w4zhcnxzzppv2d7zdz203d0lqs6hky";
# };
# version = "1.1.1";
# });
# in
# lib.mkIf (config.xlib.device.type == "server")
{
services.stirling-pdf = {
enable = true;
#package = customPackage;
environment = {
SERVER_PORT = 6060;
};