summary refs log tree commit diff stats
path: root/system/services/etebase/default.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-26 10:06:45 +0200
committersils <sils@noreply.codeberg.org>2023-07-26 16:44:50 +0000
commit88e65d6548e31af4f69fd4abb45c09809219eba5 (patch)
tree383bd069538038489603e4622a2f6b34cf6f5da6 /system/services/etebase/default.nix
parentFeat(system/secrets): Add etebase-server secret (diff)
downloadnixos-server-88e65d6548e31af4f69fd4abb45c09809219eba5.tar.gz
nixos-server-88e65d6548e31af4f69fd4abb45c09809219eba5.zip
Feat(system/services): Add etebase-server
Diffstat (limited to 'system/services/etebase/default.nix')
-rw-r--r--system/services/etebase/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/services/etebase/default.nix b/system/services/etebase/default.nix
new file mode 100644
index 0000000..ee1dce5
--- /dev/null
+++ b/system/services/etebase/default.nix
@@ -0,0 +1,10 @@
+{config, ...}: {
+  services.etebase-server = {
+    enable = true;
+    port = 8001;
+    settings = {
+      global.secret_file = "${config.age.secrets.etebase-server.path}";
+      allowed_hosts.allowed_host1 = "0.0.0.0";
+    };
+  };
+}