summary refs log tree commit diff
path: root/nixos/modules/services/networking/namecoind.nix
diff options
context:
space:
mode:
authorThibaut Marty <github@thibautmarty.fr>2020-04-28 19:13:21 +0200
committerThibaut Marty <github@thibautmarty.fr>2020-04-28 19:13:59 +0200
commit4a0beed5c0cd04f1641c03847eed83841e9f85fb (patch)
tree45566d8cff46144f83d3f195120f42ad13303f2a /nixos/modules/services/networking/namecoind.nix
parent27c7e7d38ab9ae972c2802bcea0253875eeed48e (diff)
downloadnixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar.gz
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar.bz2
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar.lz
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar.xz
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.tar.zst
nixpkgs-4a0beed5c0cd04f1641c03847eed83841e9f85fb.zip
treewide: fix modules options types where the default is null
They can be caught with `nixos-option -r` on an empty ({...}:{}) NixOS
configuration.
Diffstat (limited to 'nixos/modules/services/networking/namecoind.nix')
-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 ead7f085943..19cedb7bfc6 100644
--- a/nixos/modules/services/networking/namecoind.nix
+++ b/nixos/modules/services/networking/namecoind.nix
@@ -89,7 +89,7 @@ in
       };
 
       rpc.password = mkOption {
-        type = types.str;
+        type = types.nullOr types.str;
         default = null;
         description = ''
           Password for RPC connections.