diff options
author | danbst <abcz2.uprola@gmail.com> | 2019-01-26 21:44:05 +0200 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2019-01-31 00:41:10 +0200 |
commit | 27982b408e465554b8831f492362bc87ed0ec02a (patch) | |
tree | 9d91ef0747a5e1ed4a425e3e86a1b7172a8a16e4 /nixos/modules/services/networking/ssh | |
parent | aa2e63ce5ed6e24d73eaefe61489ece46f7460d7 (diff) | |
download | nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar.gz nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar.bz2 nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar.lz nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar.xz nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.tar.zst nixpkgs-27982b408e465554b8831f492362bc87ed0ec02a.zip |
types.optionSet: deprecate and remove last usages
Diffstat (limited to 'nixos/modules/services/networking/ssh')
-rw-r--r-- | nixos/modules/services/networking/ssh/sshd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 90d08ca3131..95dc8a62a45 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -11,7 +11,7 @@ let userOptions = { - openssh.authorizedKeys = { + options.openssh.authorizedKeys = { keys = mkOption { type = types.listOf types.str; default = []; @@ -320,7 +320,7 @@ in }; users.users = mkOption { - options = [ userOptions ]; + type = with types; loaOf (submodule userOptions); }; }; |