From bc553b8d9e4247532e0a88fcab6f6773fa38464d Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Sat, 6 Dec 2025 23:56:29 +0100 Subject: [PATCH] ente --- .../x86_64-linux/stargate/services/ente.nix | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 systems/x86_64-linux/stargate/services/ente.nix diff --git a/systems/x86_64-linux/stargate/services/ente.nix b/systems/x86_64-linux/stargate/services/ente.nix new file mode 100644 index 0000000..0866392 --- /dev/null +++ b/systems/x86_64-linux/stargate/services/ente.nix @@ -0,0 +1,34 @@ +{ + pkgs, + lib, + config, + ... +}: +let +domain = "ente.kylekrein.com"; +in +{ + services.ente = { + web = { + enable = true; + domains = { + photos = "photos.${domain}"; + albums = "albums.${domain}"; + cast = "cast.${domain}"; + api = "api.${domain}"; + accounts = "accounts.${domain}"; + }; + }; + api = { + enable = true; + domain = "api.${domain}"; + enableLocalDB = true; + nginx.enable = true; + settings = { + apps.accounts = "https://accounts.${domain}"; + apps.cast = "https://cast.${domain}"; + public-albums = "https://albums.${domain}"; + }; + }; + }; +} \ No newline at end of file