remove photoprism from vno1-oh2

This commit is contained in:
Motiejus Jakštys 2024-08-02 16:42:46 +03:00
parent fb349648ae
commit 70e48ae172

View File

@ -1,6 +1,5 @@
{
config,
lib,
pkgs,
myData,
...
@ -343,12 +342,6 @@
};
};
photoprism = {
enable = true;
originalsPath = "/data";
passwordFile = config.age.secrets.photoprism-admin-passwd.path;
};
logrotate = {
settings = {
"/var/log/caddy/access-jakstys.lt.log" = {
@ -610,13 +603,6 @@
syncthing-relay.restartIfChanged = false;
photoprism.serviceConfig = {
ProtectHome = lib.mkForce "tmpfs";
BindPaths = [
"/home/motiejus/annex2/M-Active:/data/M-Camera"
"/home/motiejus/annex2/Pictures:/data/Pictures"
];
};
};
systemd.paths = {
@ -632,18 +618,6 @@
};
};
users =
let
uidgid = myData.uidgid.photoprism;
in
{
groups.photoprism.gid = uidgid;
users.photoprism = {
group = "photoprism";
uid = uidgid;
};
};
environment.systemPackages = with pkgs; [
yt-dlp
ffmpeg