diff --git a/nixos-apps/default.nix b/nixos-apps/default.nix index 8c5e9e2..50c44ad 100644 --- a/nixos-apps/default.nix +++ b/nixos-apps/default.nix @@ -11,6 +11,8 @@ ./fancytypist.com.nix ./hydra.fancyTypist.com.nix + + ./erp.fancyTypist.dev.nix ]; # when in doubt, clear away the certs with diff --git a/nixos-apps/erp.fancyTypist.dev.nix b/nixos-apps/erp.fancyTypist.dev.nix new file mode 100644 index 0000000..9e0f56d --- /dev/null +++ b/nixos-apps/erp.fancyTypist.dev.nix @@ -0,0 +1,13 @@ +{ + services.dolibarr = { + enable = true; + domain = "erp.fancyTypist.dev"; + database.passwordFile = "/run/keys/dolibarr-db-ini-password"; + nginx = { + forceSSL = true; + enableACME = true; + }; + }; + + networking.firewall.allowedTCPPorts = [ 80 ]; +}