diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix index 47b2bd1d4dd8..e6b525c4b1ba 100644 --- a/nixos/modules/services/audio/mpd.nix +++ b/nixos/modules/services/audio/mpd.nix @@ -19,7 +19,7 @@ let ${if cfg.network.host != "any" then "bind_to_address ${cfg.network.host}" else ""} ${if cfg.network.port != 6600 then - "port ${cfg.network.port.toString()}" else ""} + "port ${toString cfg.network.port}" else ""} ${cfg.extraConfig} '';