From cb3aa7557a590b4b4a31722b6c14495ad5c57b3d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 10 Jun 2024 20:53:49 +0200 Subject: fix(etesync-server): Re-activate --- system/secrets/default.nix | 12 ++++++------ system/services/etebase/default.nix | 9 +++++---- 2 files changed, 11 insertions(+), 10 deletions(-) (limited to 'system') 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}"; -- cgit 1.4.1