nixos/kavita: fix option renaming
An incorrect semantic change is hidden in typo fixes in #495442. This patch reverts that.
This commit is contained in:
@@ -708,7 +708,7 @@ Use `services.pipewire.extraConfig` or `services.pipewire.configPackages` for Pi
|
||||
The port can be specified in [`services.nextcloud.config.dbhost`](#opt-services.nextcloud.config.dbhost).
|
||||
|
||||
- `services.kavita` now uses the free-form option `services.kavita.settings` for the application settings file.
|
||||
The options `services.kavita.ipAddresses` and `services.kavita.port` now exist at `services.kavita.settings.IpAddresses`
|
||||
The options `services.kavita.ipAdresses` and `services.kavita.port` now exist at `services.kavita.settings.IpAddresses`
|
||||
and `services.kavita.settings.IpAddresses`. The file at `services.kavita.tokenKeyFile` now needs to contain a secret with
|
||||
512+ bits instead of 128+ bits.
|
||||
|
||||
|
||||
@@ -15,12 +15,12 @@ in
|
||||
{
|
||||
imports = [
|
||||
(lib.mkChangedOptionModule
|
||||
[ "services" "kavita" "ipAddresses" ]
|
||||
[ "services" "kavita" "ipAdresses" ]
|
||||
[ "services" "kavita" "settings" "IpAddresses" ]
|
||||
(
|
||||
config:
|
||||
let
|
||||
value = lib.getAttrFromPath [ "services" "kavita" "ipAddresses" ] config;
|
||||
value = lib.getAttrFromPath [ "services" "kavita" "ipAdresses" ] config;
|
||||
in
|
||||
lib.concatStringsSep "," value
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user