nixos/subsonic: use port type

This commit is contained in:
Daniel Nagy 2021-06-18 17:30:56 +02:00
parent 06962df4d2
commit 34b4df8993
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -28,7 +28,7 @@ let cfg = config.services.subsonic; in {
};
port = mkOption {
type = types.int;
type = types.port;
default = 4040;
description = ''
The port on which Subsonic will listen for
@ -37,7 +37,7 @@ let cfg = config.services.subsonic; in {
};
httpsPort = mkOption {
type = types.int;
type = types.port;
default = 0;
description = ''
The port on which Subsonic will listen for