summary refs log tree commit diff
path: root/nixos/modules/services/networking/dae.nix
diff options
context:
space:
mode:
authoroluceps <i@oluceps.uk>2023-09-12 11:38:33 +0800
committeroluceps <i@oluceps.uk>2023-09-12 11:38:33 +0800
commit1ff17519063edb36403242137aef497a52f7a8af (patch)
tree05d00723d63007c359748033ae9f01d31aed7f28 /nixos/modules/services/networking/dae.nix
parentbc07451d4f96c77355f7e7ebb7932666d094793d (diff)
downloadnixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar.gz
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar.bz2
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar.lz
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar.xz
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.tar.zst
nixpkgs-1ff17519063edb36403242137aef497a52f7a8af.zip
nixos/dae: use port type instead int
Diffstat (limited to 'nixos/modules/services/networking/dae.nix')
-rw-r--r--nixos/modules/services/networking/dae.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/dae.nix b/nixos/modules/services/networking/dae.nix
index a80466c3409..3c7f386d2d4 100644
--- a/nixos/modules/services/networking/dae.nix
+++ b/nixos/modules/services/networking/dae.nix
@@ -48,7 +48,7 @@ in
           options = {
             enable = mkEnableOption "enable";
             port = mkOption {
-              type = types.int;
+              type = types.port;
               description = ''
                 Port to be opened. Consist with field `tproxy_port` in config file.
               '';