From dce813c55b20b4b53137f9deb27ac69677e507bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 28 Dec 2023 00:06:12 +0200 Subject: [PATCH] photoprism: disable for now Dec 28 00:03:54 vno1-oh2 (re-start)[1055134]: photoprism.service: Failed to set up mount namespacing: /run/systemd/mount-rootfs/data: No such file or directory Dec 28 00:03:54 vno1-oh2 (re-start)[1055134]: photoprism.service: Failed at step NAMESPACE spawning /nix/store/000qvz8dblxpd0hdp3iylj8gj9lg43wg-unit-script-photoprism-pre-start/bin/photoprism-pre-start: No such file or directory --- hosts/vno1-oh2/configuration.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index f4b98ed..692953d 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -361,8 +361,8 @@ }; photoprism = { - enable = true; - originalsPath = "/home/motiejus/Pictures"; + enable = false; + originalsPath = "/data"; }; logrotate = { @@ -649,12 +649,8 @@ }; photoprism.serviceConfig = { - #ProtectHome = lib.mkForce "tmpfs"; - #BindPaths = ["/home/motiejus/Pictures"]; - #DynamicUser = lib.mkForce false; - #LockPersonality = lib.mkForce false; - #PrivateDevices = lib.mkForce false; - #PrivateUsers = lib.mkForce false; + #TemporaryFileSystem = ["/data"]; + #BindPaths = ["/home/motiejus/Pictures:/data"]; }; };