diff options
author | Emile <git@emile.space> | 2024-08-16 23:33:53 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-08-16 23:33:53 +0200 |
commit | cea6896788a42c0ea40f99deb4b5987d6741e360 (patch) | |
tree | 7b65658ce082cab4f552b0a42fa171745f003bd2 /nix/hosts/corrino/www/photo.emile.space.nix | |
parent | dcfc18774fe2d4207c2996b2d16ea67499b70228 (diff) |
big dump, forgot to commit...
Diffstat (limited to 'nix/hosts/corrino/www/photo.emile.space.nix')
-rw-r--r-- | nix/hosts/corrino/www/photo.emile.space.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/nix/hosts/corrino/www/photo.emile.space.nix b/nix/hosts/corrino/www/photo.emile.space.nix deleted file mode 100644 index 9c1e97a..0000000 --- a/nix/hosts/corrino/www/photo.emile.space.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ config, ... }: - -{ - services.nginx.virtualHosts."photo.emile.space" = { - forceSSL = true; - enableACME = true; - - locations = { - "/" = { - proxyPass = "http://127.0.0.1:${toString config.services.photoprism.port}"; - proxyWebsockets = true; - }; - }; - }; - - services.photoprism = { - enable = true; - - address = "127.0.0.1"; - port = config.emile.ports.photo; - - passwordFile = config.age.secrets.photoprism_password.path; - - # originalsPath = "/data/photos"; - originalsPath = "/mnt/storagebox-bx11/photos"; - - settings = { - PHOTOPRISM_ADMIN_USER = "root"; - PHOTOPRISM_DEFAULT_LOCALE = "en"; - PHOTOPRISM_SITE_URL = "https://photo.emile.space"; - }; - }; -} |