
- Create shared media-group.nix module with fixed GID (993) - Add both geir and sma users to media group for shared NFS access - Update NFS server configuration to use root:media ownership with 0775 permissions - Convert all media services to use media group instead of users group: - Jellyfin, Calibre-web, Audiobookshelf, Transmission - Enable group write access to all NFS shares (/mnt/storage/*) - Maintain security with root ownership while allowing group collaboration This resolves NFS permission issues by providing consistent group-based access control across all media services and storage directories.
23 lines
395 B
Nix
23 lines
395 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
../../../modules/users/media-group.nix
|
|
];
|
|
|
|
services.calibre-web = {
|
|
enable = true;
|
|
group = "media";
|
|
listen = {
|
|
ip = "0.0.0.0";
|
|
port = 8083;
|
|
};
|
|
options = {
|
|
calibreLibrary = "/mnt/remote/media/books/calibre/";
|
|
enableBookUploading = true;
|
|
};
|
|
};
|
|
networking.firewall.allowedTCPPorts = [8083];
|
|
}
|