minidlna: open up /home/motiejus/video

This commit is contained in:
Motiejus Jakštys 2023-09-07 22:31:02 +03:00
parent fc3308a2e9
commit ee36768b0e
1 changed files with 8 additions and 0 deletions

View File

@ -520,6 +520,14 @@
ExecStart = "${pkgs.systemd}/bin/systemctl restart caddy.service";
};
};
minidlna = {
serviceConfig = {
ProtectSystem = "strict";
ProtectHome = "tmpfs";
BindReadOnlyPaths = ["/home/motiejus/video"];
};
};
};
systemd.paths = {