nixos/navidrome: remove apply from settings option

This commit is contained in:
nu-nu-ko 2024-03-01 12:31:27 +13:00 committed by nuko
parent da8cdc2782
commit ffc0d8bf58
No known key found for this signature in database

View file

@ -10,7 +10,6 @@ let
mkEnableOption mkEnableOption
mkPackageOption mkPackageOption
mkOption mkOption
recursiveUpdate
; ;
inherit (lib.types) bool str; inherit (lib.types) bool str;
cfg = config.services.navidrome; cfg = config.services.navidrome;
@ -24,9 +23,8 @@ in
package = mkPackageOption pkgs "navidrome" { }; package = mkPackageOption pkgs "navidrome" { };
settings = mkOption rec { settings = mkOption {
type = settingsFormat.type; type = settingsFormat.type;
apply = recursiveUpdate default;
default = { default = {
Address = "127.0.0.1"; Address = "127.0.0.1";
Port = 4533; Port = 4533;