Skip to content

Jellyfin - Users

Configuration options for jellyfin users.

Available Options

This page documents 7 configuration options.

nixflix.jellyfin.users

User configuration.

Important: At least one user must have policy.isAdministrator = true. This user will be created during the initial setup wizard and used for subsequent API operations.

Typeattribute set of (submodule)
Default
{ }
Example
{
  admin = {
    password = {
      _secret = "/run/secrets/jellyfin-admin-password";
    };
    policy = {
      isAdministrator = true;
    };
  };
}
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.enableAutoLogin

This option has no description.

Typeboolean
Default
false
Example
true
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.id

The ID of the user

Typenull or string
Default
null
Example
"18B51E25-33FD-46B6-BBF8-DB4DD77D0679"
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.lastActivityDate

This option has no description.

Typenull or string
Default
null
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.lastLoginDate

This option has no description.

Typenull or string
Default
null
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.mutable

Functions like mutableUsers in NixOS users.users."user" If true, the first time the user is created, all configured options are overwritten. Any modifications from the GUI will take priority, and no nix configuration changes will have any effect. If false however, all options are overwritten as specified in the nix configuration, which means any change through the Jellyfin GUI will have no effect after a rebuild.

Note: Passwords are only set during user creation and are never updated declaratively, regardless of the mutable setting. To change a user's password, use the Jellyfin web interface.

Typeboolean
Default
true
Example
false
Declared inmodules/jellyfin/options/users.nix

nixflix.jellyfin.users.<name>.password

User's password.

Warning

Can be a plain string (visible in Nix store) or { _secret = /path/to/file; } for file-based secrets.

Plain-text secrets will be visible in the Nix store. Use { _secret = path; } for sensitive data.

Typestring or (submodule)
Default
null
Example
{ _secret = "/run/secrets/secret-file"; }
Declared inmodules/jellyfin/options/users.nix