mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 04:49:01 +02:00
nixos/subsonic: use port
type
This commit is contained in:
parent
06962df4d2
commit
34b4df8993
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue