minidlna: open up /home/motiejus/video
This commit is contained in:
parent
fc3308a2e9
commit
ee36768b0e
|
@ -520,6 +520,14 @@
|
||||||
ExecStart = "${pkgs.systemd}/bin/systemctl restart caddy.service";
|
ExecStart = "${pkgs.systemd}/bin/systemctl restart caddy.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
minidlna = {
|
||||||
|
serviceConfig = {
|
||||||
|
ProtectSystem = "strict";
|
||||||
|
ProtectHome = "tmpfs";
|
||||||
|
BindReadOnlyPaths = ["/home/motiejus/video"];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.paths = {
|
systemd.paths = {
|
||||||
|
|
Loading…
Reference in New Issue