infrastructure/machines/compute01/stirling-pdf/default.nix
Tom Hubrecht 99825b89ca
All checks were successful
Check meta / check_meta (pull_request) Successful in 26s
Check meta / check_dns (pull_request) Successful in 1m0s
build configuration / build_storage01 (pull_request) Successful in 1m32s
build configuration / build_vault01 (pull_request) Successful in 1m36s
build configuration / build_web02 (pull_request) Successful in 1m38s
build configuration / build_rescue01 (pull_request) Successful in 1m19s
build configuration / build_web01 (pull_request) Successful in 2m2s
lint / check (pull_request) Successful in 29s
build configuration / build_geo01 (pull_request) Successful in 1m21s
build configuration / build_geo02 (pull_request) Successful in 1m23s
build configuration / build_bridge01 (pull_request) Successful in 1m16s
build configuration / push_to_cache_storage01 (pull_request) Successful in 1m34s
build configuration / push_to_cache_web02 (pull_request) Successful in 1m29s
build configuration / push_to_cache_rescue01 (pull_request) Successful in 1m36s
build configuration / push_to_cache_geo01 (pull_request) Successful in 1m20s
build configuration / push_to_cache_web01 (pull_request) Successful in 2m14s
build configuration / push_to_cache_geo02 (pull_request) Successful in 1m21s
build configuration / push_to_cache_bridge01 (pull_request) Successful in 1m18s
build configuration / build_compute01 (pull_request) Successful in 10m55s
build configuration / push_to_cache_compute01 (pull_request) Successful in 1m51s
build configuration / build_web02 (push) Successful in 1m44s
build configuration / build_rescue01 (push) Successful in 1m44s
build configuration / build_compute01 (push) Successful in 1m50s
build configuration / build_vault01 (push) Successful in 1m49s
build configuration / build_storage01 (push) Successful in 1m54s
lint / check (push) Successful in 35s
build configuration / build_web01 (push) Successful in 2m26s
build configuration / build_bridge01 (push) Successful in 1m26s
build configuration / build_geo01 (push) Successful in 1m29s
build configuration / build_geo02 (push) Successful in 1m30s
build configuration / push_to_cache_compute01 (push) Successful in 2m4s
build configuration / push_to_cache_rescue01 (push) Successful in 1m41s
build configuration / push_to_cache_web02 (push) Successful in 1m44s
build configuration / push_to_cache_bridge01 (push) Successful in 1m29s
build configuration / push_to_cache_storage01 (push) Successful in 1m47s
build configuration / push_to_cache_geo01 (push) Successful in 1m20s
build configuration / push_to_cache_geo02 (push) Successful in 1m34s
build configuration / push_to_cache_web01 (push) Successful in 2m25s
fix(stirling-pdf): Make it build again
2024-09-10 22:41:25 +02:00

30 lines
574 B
Nix

{ nixpkgs, ... }:
let
dgn-id = "f756a0f47e704db815a7af6786f6eb0aec628d6b";
in
{
services.stirling-pdf = {
enable = true;
package = nixpkgs.unstable.stirling-pdf.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [
(builtins.fetchurl "https://git.dgnum.eu/DGNum/Stirling-PDF/commit/${dgn-id}.patch")
];
});
domain = "pdf.dgnum.eu";
port = 8084;
nginx = {
enableACME = true;
forceSSL = true;
};
environment = {
UI_APP_NAME = "DGNum PDF";
SYSTEM_DEFAULT_LOCALE = "fr-FR";
};
};
}