diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2021-06-18 17:30:56 +0200 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2021-06-18 17:30:56 +0200 |
commit | 34b4df89939f7abaa43138f970b0b0932b40bdf1 (patch) | |
tree | e2c4c138a2d334a18fed28ee085762e6bcac1352 | |
parent | 06962df4d2e5ccd3ab92f86f22036c6cf4742fc7 (diff) | |
download | nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar.gz nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar.bz2 nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar.lz nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar.xz nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.tar.zst nixpkgs-34b4df89939f7abaa43138f970b0b0932b40bdf1.zip |
nixos/subsonic: use `port` type
-rw-r--r-- | nixos/modules/services/misc/subsonic.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix index 152917d345c..e17a98a5e1d 100644 --- a/nixos/modules/services/misc/subsonic.nix +++ b/nixos/modules/services/misc/subsonic.nix @@ -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 |