File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -455,14 +455,19 @@ with lib; let
455455in {
456456 # Based on: https://github.com/jellyfin/jellyfin/blob/master/MediaBrowser.Model/Configuration/UserConfiguration.cs
457457 options . nixflix . jellyfin . users = mkOption {
458- description = "User configuration" ;
458+ description = ''
459+ User configuration.
460+
461+ **Important**: At least one user must have `policy.isAdministrator = true`.
462+ This user will be created during the initial setup wizard and used for
463+ subsequent API operations.
464+ '' ;
459465 default = { } ;
460466 type = with types ; attrsOf ( submodule userOpts ) ;
461467 example = {
462- Admin = {
463- password = "123" ;
464- maxParentalRatingSubScore = 12 ;
465- permissions = {
468+ admin = {
469+ passwordFile = "/run/secrets/jellyfin-admin-password" ;
470+ policy = {
466471 isAdministrator = true ;
467472 } ;
468473 } ;
You can’t perform that action at this time.
0 commit comments