ente
This commit is contained in:
parent
60add4ec66
commit
bc553b8d9e
1 changed files with 34 additions and 0 deletions
34
systems/x86_64-linux/stargate/services/ente.nix
Normal file
34
systems/x86_64-linux/stargate/services/ente.nix
Normal file
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue