Skip to content

Commit 56c684a

Browse files
committed
update documentation
1 parent f19b961 commit 56c684a

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

modules/jellyfin/options/users.nix

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -455,14 +455,19 @@ with lib; let
455455
in {
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
};

0 commit comments

Comments
 (0)