photoprism: remove module

Part of general cleanup of dead code
This commit is contained in:
Payas Relekar 2023-09-23 11:10:17 +05:30
parent f1e3f5cd34
commit cd6e55fc65
2 changed files with 0 additions and 46 deletions

View file

@ -95,7 +95,6 @@
./modules/vaultwarden.nix
./modules/hledger.nix
./modules/etesync.nix
# ./modules/photoprism.nix
./modules/uptime_kuma.nix
./modules/rss.nix
./modules/wiki.nix

View file

@ -1,45 +0,0 @@
{ ... }:
{
systemd.tmpfiles.rules = [
"f /run/agenix/photoprism 0770 photoprism photoprism -"
];
services = {
photoprism = {
enable = true;
port = 2342;
address = "photo.bhankas.org";
passwordFile = "/run/agenix/photoprism";
settings = {
PHOTOPRISM_ADMIN_USER = "root";
};
};
nginx = {
enable = true;
virtualHosts = {
"photo.bhankas.org" = {
addSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:2342";
proxyWebsockets = false;
extraConfig =
"proxy_set_header Host $host;\n"
;
};
};
};
};
};
security.acme = {
acceptTerms = true;
certs = {
"photo.bhankas.org" = {
email = "admin@bhankas.org";
dnsResolver = "1.1.1.1:53";
};
};
};
}