summary refs log tree commit diff
path: root/nixos/modules/services/misc/gpsd.nix
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:29:24 +0200
committerDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:29:24 +0200
commit50af10e205376fc0dd52525b670d1aea8bcadadc (patch)
treea52ed79a9544cb891802523bbd7672c43874c297 /nixos/modules/services/misc/gpsd.nix
parent864dabf232c0ce814432771b51d06460ffa5e60f (diff)
downloadnixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar.gz
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar.bz2
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar.lz
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar.xz
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.tar.zst
nixpkgs-50af10e205376fc0dd52525b670d1aea8bcadadc.zip
nixos/gpsd: use `port` type
Diffstat (limited to 'nixos/modules/services/misc/gpsd.nix')
-rw-r--r--nixos/modules/services/misc/gpsd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/misc/gpsd.nix b/nixos/modules/services/misc/gpsd.nix
index f954249942a..fafea10daba 100644
--- a/nixos/modules/services/misc/gpsd.nix
+++ b/nixos/modules/services/misc/gpsd.nix
@@ -62,7 +62,7 @@ in
       };
 
       port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 2947;
         description = ''
           The port where to listen for TCP connections.