This commit is contained in:
2025-08-06 23:11:59 +03:00
parent 6b1bc2ab85
commit 0b92e733aa
6 changed files with 45 additions and 11 deletions
+29
View File
@@ -0,0 +1,29 @@
{
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;
};
};
}