Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
- If you previously used `configFile`, migrate your configuration to the `settings` option and extract the private key to a separate file referenced by `PrivateKeyPath`.
- If you previously used `persistentKeys`, convert your keys to PEM format and store them in a secure location accessible only to root, then reference them via `PrivateKeyPath`.
-`pocket-id` has been updated to version 2 that contains [breaking changes](https://pocket-id.org/docs/setup/major-releases/migrate-v2).
-`asio` (standalone version of `boost::asio`) has been updated from 1.24.0 to 1.36.0. Some breaking changes were introduced between these
two versions, and the one affected most was the removal of `asio::io_service` in favor of `asio::io_context` in 1.33.0. `asio_1_32_0` is
retained for packages that have not completed migration. `asio_1_10` has been removed as no packages depend on it anymore.
See [PocketID environment variables](https://pocket-id.org/docs/configuration/environment-variables).
'';
};
@@ -101,7 +125,7 @@ in
type=path;
default="/var/lib/pocket-id";
description=''
The directory where Pocket ID will store its data, such as the database.
The directory where Pocket ID will store its data, such as the database when using SQLite.
'';
};
@@ -119,19 +143,17 @@ in
};
config=mkIfcfg.enable{
warnings=
optional(cfg.settings?MAXMIND_LICENSE_KEY)
"config.services.pocket-id.settings.MAXMIND_LICENSE_KEY will be stored as plaintext in the Nix store. Use config.services.pocket-id.environmentFile instead."
++
concatMap
assertions=(
map
(
# Added 2025-05-27
setting:
optional(cfg.settings?"${setting}")''
config.services.pocket-id.settings.${setting} is deprecated.
See https://pocket-id.org/docs/setup/migrate-to-v1/ for migration instructions.
''
)
# Converted to assert 2026-01-08
setting:{
assertion=!(cfg.settings?"${setting}");
message=''
`services.pocket-id.settings.${setting}` is deprecated.
See [v1 migration guide](https://pocket-id.org/docs/setup/major-releases/migrate-v1).
'';
})
[
"PUBLIC_APP_URL"
"PUBLIC_UI_CONFIG_DISABLED"
@@ -141,7 +163,40 @@ in
"POSTGRES_CONNECTION_STRING"
"SQLITE_DB_PATH"
"INTERNAL_BACKEND_URL"
];
]
);
warnings=
(concatMap
(
setting:
optional(cfg.settings?"${setting}")''
`services.pocket-id.settings.${setting}` will be stored as plaintext in the Nix store. Use `services.pocket-id.credentials.${setting}` or `services.pocket-id.environmentFile` instead.
''
)
[
"ENCRYPTION_KEY"
"MAXMIND_LICENSE_KEY"
"SMTP_PASSWORD"
"LDAP_BIND_PASSWORD"
]
)
++(concatMap
(
# Added 2026-01-08
setting:
optional(cfg.settings?"${setting}")''
`services.pocket-id.settings.${setting}` is deprecated.
See [v2 migration guide](https://pocket-id.org/docs/setup/major-releases/migrate-v2).