summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:27:42 +0200
committerDaniel Nagy <danielnagy@posteo.de>2021-06-18 17:27:42 +0200
commitd566bd2ddcd3b3f32abe82ebe9af4fa609708dc7 (patch)
treec34174ef3557cb3b81bbed645093b811e0249513
parent044d996906707a7e1ff6569caef7d32c9760a809 (diff)
downloadnixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar.gz
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar.bz2
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar.lz
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar.xz
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.tar.zst
nixpkgs-d566bd2ddcd3b3f32abe82ebe9af4fa609708dc7.zip
nixos/namecoind: use `port` type
-rw-r--r--nixos/modules/services/networking/namecoind.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/namecoind.nix b/nixos/modules/services/networking/namecoind.nix
index 4966ed2cac8..8f7a5123f7e 100644
--- a/nixos/modules/services/networking/namecoind.nix
+++ b/nixos/modules/services/networking/namecoind.nix
@@ -105,7 +105,7 @@ in
       };
 
       rpc.port = mkOption {
-        type = types.int;
+        type = types.port;
         default = 8332;
         description = ''
           Port the RPC server will bind to.