this post was submitted on 14 Apr 2024
4 points (75.0% liked)

Nix / NixOS

1827 readers
2 users here now

Main links

Videos

founded 2 years ago
MODERATORS
 

Is it possible to mount a Nextcloud folder into the filesystem within the nix config that other services can use it? For example have a jellyfin server use the a family shared nextcloud folder

you are viewing a single comment's thread
view the rest of the comments
[–] InEnduringGrowStrong 2 points 8 months ago (2 children)

I've done variations of this concept, but I never tried that in NixOS.
Something that should be pretty universal though, is to keep it read-only everywhere except one read-write container.
Generally speaking, having multiple containers with write access to the same folder is a recipe for headaches.

[–] Gooey0210 1 points 8 months ago (1 children)

Why not, I have some really really good combos working, like:

Synching + photoprism

Transmission + jellyfin (optionally with *arr)

[–] InEnduringGrowStrong 1 points 8 months ago

Depends on the thing it's doing and how low level it expects to access the storage.
The things you named are pretty much made to work with each other in mind so there's no issue.

Weird issues can happen if two things try to write the same file.