summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:18:46 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-15 18:18:46 +0200
commit6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc (patch)
tree7ab1646f34c7437c6cb41442a398163e00cb98bb /nixos/modules/programs
parentc63bc92d4c040fb7999185e1948b29c3c84bacf9 (diff)
downloadnixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.gz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.bz2
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.lz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.xz
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.tar.zst
nixpkgs-6e6a96d42cf56cfcd042bbeab89e37f442f0cfcc.zip
Some more type cleanup
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/ssh.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix
index 6ca73eea5f6..0d1ec500afc 100644
--- a/nixos/modules/programs/ssh.nix
+++ b/nixos/modules/programs/ssh.nix
@@ -27,7 +27,7 @@ in
     programs.ssh = {
 
       askPassword = mkOption {
-        type = types.string;
+        type = types.str;
         default = "${pkgs.x11_ssh_askpass}/libexec/x11-ssh-askpass";
         description = ''Program used by SSH to ask for passwords.'';
       };
@@ -77,7 +77,7 @@ in
       };
 
       agentTimeout = mkOption {
-        type = types.nullOr types.string;
+        type = types.nullOr types.str;
         default = null;
         example = "1h";
         description = ''