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

Nix / NixOS

1779 readers
1 users here now

Main links

Videos

founded 1 year 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
[–] onlinepersona@programming.dev 2 points 7 months ago

Nextcloud allows webdav and has a guide how to do so manually on linux

You can create a systemd user units that runs a script to mount your nextcloud or systemd user services. I'm not sure how to create it for a specific user instead of all users using the nixos options.
I know home-manager does support systemd services for your user using systemd.user.services. This has an example. Some dude made a video too.

Anti Commercial-AI license