summaryrefslogtreecommitdiff
path: root/hosts/atlas
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/atlas')
-rw-r--r--hosts/atlas/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/hosts/atlas/default.nix b/hosts/atlas/default.nix
index 3f01ed7..ad6e7e8 100644
--- a/hosts/atlas/default.nix
+++ b/hosts/atlas/default.nix
@@ -1,7 +1,6 @@
{
config,
pkgs,
- guzzle_api,
...
}: {
imports = [
@@ -24,9 +23,12 @@
services = {
guzzle-api = {
enable = true;
- url = "https://api." + config.networking.domain;
- port = "8080";
- package = guzzle_api.packages.x86_64-linux.guzzle-api-server;
+ domain = "api.${config.networking.domain}";
+ nginx = {
+ enableACME = true;
+ acmeRoot = null;
+ addSSL = true;
+ };
};
};