work on photoprism
This commit is contained in:
parent
e1b672bf82
commit
32f2ba2ca6
|
@ -25,7 +25,7 @@
|
||||||
--log-level=INFO "$@"
|
--log-level=INFO "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
inherit (lib.modules) mkMerge mkForce;
|
inherit (lib.modules) mkForce;
|
||||||
inherit (builtins) toFile;
|
inherit (builtins) toFile;
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
@ -89,7 +89,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.photoprism.serviceConfig = {
|
systemd.services.photoprism.serviceConfig = {
|
||||||
DynamicUser = false;
|
DynamicUser = mkForce false;
|
||||||
ReadWritePaths = [ "/Photos" ];
|
ReadWritePaths = [ "/Photos" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue