diff options
| author | Daiderd Jordan <daiderd@gmail.com> | 2020-01-21 12:02:39 +0100 |
|---|---|---|
| committer | Daiderd Jordan <daiderd@gmail.com> | 2020-01-21 12:11:32 +0100 |
| commit | 267f50e63ddc5b3f634d647c6f9d8f5bdf59cfca (patch) | |
| tree | 75f224d955ee19e59b3127ca31c9de30f8119275 /tests/programs-ssh.nix | |
| parent | 7175f5286018e55807a536a20e97ad3008c71384 (diff) | |
replace list values for types.loaOf
This type has been deprecated in nixpkgs, these options will be
replaced with types.attrsOf in the future.
Diffstat (limited to 'tests/programs-ssh.nix')
| -rw-r--r-- | tests/programs-ssh.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/programs-ssh.nix b/tests/programs-ssh.nix index a6207fc..71f285c 100644 --- a/tests/programs-ssh.nix +++ b/tests/programs-ssh.nix @@ -1,12 +1,11 @@ { config, pkgs, ... }: { - programs.ssh.knownHosts = [ - { - hostNames = [ "github.com" ]; + programs.ssh.knownHosts = { + "github.com" = { publicKey = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=="; - } - ]; + }; + }; test = '' echo >&2 "checking for github.com in /etc/ssh/ssh_known_hosts" |
