Spyke
nix·Nix / NixOSbymenzel

Mount a Nextcloud folder

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

View original on programming.dev
lemm.ee

You could always just setup your nextcloud directory to be network mountable

Though I've found badness comes from trying to modify nextcloud's filesystem from outside nextcloud

2

Good point, nextcloud requires manual scan after files were changed outside of nextcloud

2

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.

2
Gooey0210reply
sh.itjust.works

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

Synching + photoprism

Transmission + jellyfin (optionally with *arr)

1

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.

1

Not sure if this is what you're looking for, but the nextcloud-client package works fine on my system.

1

You reached the end

Mount a Nextcloud folder | Spyke