summary refs log tree commit diff
path: root/nixos/modules/services/misc/ankisyncd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/misc/ankisyncd.nix')
-rw-r--r--nixos/modules/services/misc/ankisyncd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/ankisyncd.nix b/nixos/modules/services/misc/ankisyncd.nix
index 907bd348d7e..5198b824202 100644
--- a/nixos/modules/services/misc/ankisyncd.nix
+++ b/nixos/modules/services/misc/ankisyncd.nix
@@ -44,7 +44,7 @@ in
       };
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 27701;
         description = lib.mdDoc "ankisyncd port";
       };