diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-10 20:53:49 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-06-11 20:30:35 +0200 |
commit | cb3aa7557a590b4b4a31722b6c14495ad5c57b3d (patch) | |
tree | b5f73aae189b34ba5a4767f07f0acb2227515414 | |
parent | flake.lock: Update (diff) | |
download | nixos-server-cb3aa7557a590b4b4a31722b6c14495ad5c57b3d.tar.gz nixos-server-cb3aa7557a590b4b4a31722b6c14495ad5c57b3d.zip |
fix(etesync-server): Re-activate
-rw-r--r-- | system/secrets/default.nix | 12 | ||||
-rw-r--r-- | system/services/etebase/default.nix | 9 |
2 files changed, 11 insertions, 10 deletions
diff --git a/system/secrets/default.nix b/system/secrets/default.nix index 79f0f4a..1656cec 100644 --- a/system/secrets/default.nix +++ b/system/secrets/default.nix @@ -1,12 +1,12 @@ {...}: { age = { secrets = { - #etebase-server = { - # file = ./etebase-server/passwd.age; - # mode = "700"; - # owner = "etebase-server"; - # group = "etebase-server"; - #}; + etebase-server = { + file = ./etebase-server/passwd.age; + mode = "700"; + owner = "etebase-server"; + group = "etebase-server"; + }; invidiousHmac = { file = ./invidious/hmac.age; mode = "700"; diff --git a/system/services/etebase/default.nix b/system/services/etebase/default.nix index 2d1a740..5d0284f 100644 --- a/system/services/etebase/default.nix +++ b/system/services/etebase/default.nix @@ -1,8 +1,9 @@ -{config, ...}: { +{ + config, + ... +}: { services.etebase-server = { - # FIXME: etebase uses an insecure database backend - # (django3.2). We should consider alternatives. - enable = false; + enable = true; port = 8001; settings = { global.secret_file = "${config.age.secrets.etebase-server.path}"; |