diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2022-11-30 17:15:00 +0100 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2022-12-08 00:00:00 +0100 |
commit | ad866e565db95c40ce13bf456a60108f94a5295e (patch) | |
tree | 0d8f48caac06af9c10a4d6c6f412d3e24605770c /nixos/modules/services/audio | |
parent | 5108c96e98d38658e3f8668b5a96461df3c03382 (diff) | |
download | nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.gz nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.bz2 nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.lz nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.xz nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.tar.zst nixlib-ad866e565db95c40ce13bf456a60108f94a5295e.zip |
treewide: switch to port type for nixos modules
Diffstat (limited to 'nixos/modules/services/audio')
-rw-r--r-- | nixos/modules/services/audio/icecast.nix | 2 | ||||
-rw-r--r-- | nixos/modules/services/audio/mpd.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/audio/icecast.nix b/nixos/modules/services/audio/icecast.nix index 759f1ab0db9b..f71a13b9626d 100644 --- a/nixos/modules/services/audio/icecast.nix +++ b/nixos/modules/services/audio/icecast.nix @@ -74,7 +74,7 @@ in { listen = { port = mkOption { - type = types.int; + type = types.port; description = lib.mdDoc "TCP port that will be used to accept client connections."; default = 8000; }; diff --git a/nixos/modules/services/audio/mpd.nix b/nixos/modules/services/audio/mpd.nix index bbfccec98c4a..ba1e4716c9b9 100644 --- a/nixos/modules/services/audio/mpd.nix +++ b/nixos/modules/services/audio/mpd.nix @@ -142,7 +142,7 @@ in { }; port = mkOption { - type = types.int; + type = types.port; default = 6600; description = lib.mdDoc '' This setting is the TCP port that is desired for the daemon to get assigned |