This commit is contained in:
2025-08-06 23:33:03 +03:00
parent a9e0c535b1
commit 25345d396e
4 changed files with 59 additions and 5 deletions
+10
View File
@@ -0,0 +1,10 @@
{
config,
lib,
...
}:
{
imports = [
./stirling-pdf.nix
];
}
+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;
};
};
}