From 4850098fb6657ce9212f175af422ef5676f85bcb Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Sun, 21 Jan 2024 21:11:29 +0100 Subject: [PATCH] feat(services): deploy a partially-declarative ERP (Dolibarr) on erp.dgnum.eu This is required for various services we will need, e.g. accounting and more. --- machines/web01/_configuration.nix | 1 + machines/web01/dolibarr.nix | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 machines/web01/dolibarr.nix diff --git a/machines/web01/_configuration.nix b/machines/web01/_configuration.nix index 14566a7..9649306 100644 --- a/machines/web01/_configuration.nix +++ b/machines/web01/_configuration.nix @@ -19,6 +19,7 @@ lib.extra.mkConfig { "redirections" "static" "wordpress" + "dolibarr" ]; extraConfig = { diff --git a/machines/web01/dolibarr.nix b/machines/web01/dolibarr.nix new file mode 100644 index 0000000..ee0272e --- /dev/null +++ b/machines/web01/dolibarr.nix @@ -0,0 +1,11 @@ +{ ... }: +{ + services.dolibarr = { + enable = true; + domain = "erp.dgnum.eu"; + nginx = { + forceSSL = true; + enableACME = true; + }; + }; +}