infrastructure/machines/nixos/compute01/docuseal/default.nix
Tom Hubrecht 8f8585038d feat(bootstrap): Add the root of the repository
This avoids making ../../.. in some places
2025-04-16 07:48:57 +02:00

30 lines
489 B
Nix

# SPDX-FileCopyrightText: 2025 Tom Hubrecht <tom.hubrecht@dgnum.eu>
#
# SPDX-License-Identifier: EUPL-1.2
{ bootstrap, ... }:
let
host = "docuseal.dgnum.eu";
port = 2500;
in
{
imports = [ ./module.nix ];
nixpkgs.overlays = [
(self: _: {
docuseal = self.callPackage (bootstrap.root + "/pkgs/by-name/docuseal") { };
})
];
services.docuseal = {
enable = true;
inherit host port;
};
dgn-web.simpleProxies.docuseal = {
inherit host port;
};
}