16 lines
461 B
Nix
16 lines
461 B
Nix
{ config, lib, pkgs, ... }: {
|
|
# Audiobookshelf user with jellyfin and pyload groups for multimedia access
|
|
users.users.audiobookshelf = {
|
|
isSystemUser = true;
|
|
group = "audiobookshelf";
|
|
extraGroups = [ "jellyfin" "pyload" ];
|
|
};
|
|
users.groups.audiobookshelf = {};
|
|
|
|
services.audiobookshelf = {
|
|
enable = true;
|
|
openFirewall = true; # Opens default port 13378
|
|
host = "0.0.0.0"; # Listen on all interfaces
|
|
port = 13378;
|
|
};
|
|
}
|