diff options
author | Robert Helgesson <robert@rycee.net> | 2019-08-19 20:37:48 +0200 |
---|---|---|
committer | Robert Helgesson <robert@rycee.net> | 2019-08-19 20:37:48 +0200 |
commit | ed4f66185f93cf5e33fb1e53fb669da74364a9b6 (patch) | |
tree | e34095d7c6d7fe1c24a9a4618d6ef7955e82d594 /modules/services/mpd.nix | |
parent | 3d645c0ce1a02954aa1ebd458e7e45774be1f2a1 (diff) |
Use `types.port` where applicable
This changes the type of all options that specify ports to
`types.port`. This type restricts values to between 0 and 65535.
Diffstat (limited to 'modules/services/mpd.nix')
-rw-r--r-- | modules/services/mpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/services/mpd.nix b/modules/services/mpd.nix index 822d2fe3936..fbcf9e94230 100644 --- a/modules/services/mpd.nix +++ b/modules/services/mpd.nix @@ -98,7 +98,7 @@ in { }; port = mkOption { - type = types.ints.positive; + type = types.port; default = 6600; description = '' The TCP port on which the the daemon will listen. |