Tom Hubrecht
ad7ce0be7e
All checks were successful
build configuration / build_web02 (push) Successful in 1m6s
build configuration / build_rescue01 (push) Successful in 1m5s
build configuration / build_vault01 (push) Successful in 1m11s
build configuration / build_storage01 (push) Successful in 1m12s
lint / check (push) Successful in 25s
build configuration / build_web01 (push) Successful in 1m36s
build configuration / build_compute01 (push) Successful in 2m36s
build configuration / push_to_cache (push) Successful in 2m26s
30 lines
574 B
Nix
30 lines
574 B
Nix
{ nixpkgs, ... }:
|
|
|
|
let
|
|
dgn-id = "57ac2e06a00384772bf63f055874ce2fefe4eb0a";
|
|
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";
|
|
};
|
|
};
|
|
}
|