summaryrefslogtreecommitdiffstats
path: root/system/services
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-07-26 10:06:45 +0200
committerSoispha <soispha@vhack.eu>2023-11-18 19:31:52 +0100
commite8ab3ba3a5d374f9f01013f482e7367215890033 (patch)
tree4bf52015f5f05bddf73fdcdaf3108de206366f1e /system/services
parentFeat(system/secrets): Add etebase-server secret (diff)
downloadnixos-server-e8ab3ba3a5d374f9f01013f482e7367215890033.zip
Feat(system/services): Add etebase-server
Diffstat (limited to 'system/services')
-rw-r--r--system/services/default.nix1
-rw-r--r--system/services/etebase/default.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/system/services/default.nix b/system/services/default.nix
index 9998e43..e269dbc 100644
--- a/system/services/default.nix
+++ b/system/services/default.nix
@@ -1,5 +1,6 @@
{...}: {
imports = [
+ ./etebase
./fail2ban
./invidious
./keycloak
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";
+ };
+ };
+}