weilite/webdav: init
This commit is contained in:
parent
ea47988011
commit
d6d2f01c09
5 changed files with 52 additions and 14 deletions
|
@ -86,16 +86,6 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
systemd.mounts = [
|
||||
{
|
||||
what = "originals";
|
||||
where = "/mnt/immich/external-library/xin";
|
||||
type = "virtiofs";
|
||||
options = "ro,nodev,nosuid";
|
||||
wantedBy = [ "immich-server.service" ];
|
||||
}
|
||||
];
|
||||
|
||||
systemd.timers.immich-auto-stack = {
|
||||
enable = true;
|
||||
wantedBy = [ "immich-server.service" ];
|
||||
|
@ -135,8 +125,8 @@ in
|
|||
|
||||
systemd.services.immich-server = {
|
||||
serviceConfig = {
|
||||
ReadWritePaths = [
|
||||
"/mnt/immich/external-library/xin"
|
||||
BindReadOnlyPaths = [
|
||||
"/mnt/photos/xin/originals:/mnt/immich/external-library/xin"
|
||||
];
|
||||
Environment = "IMMICH_CONFIG_FILE=${config.sops.templates."immich/config.json".path}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue