diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 22:16:10 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-05-15 22:16:10 +0200 |
commit | 98ce9a9d0307c4695728ee09de2e54c30cfbdac2 (patch) | |
tree | f9a49b59b9ac9541327bbd956e3e2cafe3bb46fc /system-profiles/openssh | |
parent | 0e0f035264d897e65676ecdc06aee555fae796a8 (diff) | |
parent | 3e5346ccfd542e9abb928a7eca2e831b9c30df2e (diff) | |
download | nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.gz nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.bz2 nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.tar.xz nixos-98ce9a9d0307c4695728ee09de2e54c30cfbdac2.zip |
Merge branch 'flakes-template' into flakes
Diffstat (limited to 'system-profiles/openssh')
-rw-r--r-- | system-profiles/openssh/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix index ee7d8868..33a3e136 100644 --- a/system-profiles/openssh/default.nix +++ b/system-profiles/openssh/default.nix | |||
@@ -1,7 +1,7 @@ | |||
1 | { customUtils, lib, config, hostName, pkgs, ... }: | 1 | { customUtils, lib, config, hostName, pkgs, ... }: |
2 | { | 2 | { |
3 | config = { | 3 | config = { |
4 | programs.ssh.knownHosts = lib.zipAttrsWith (_name: values: builtins.head values) (lib.mapAttrsToList (name: lib.mapAttrs' (type: value: lib.nameValuePair "${name}-${type}" value)) (customUtils.recImport { dir = ./known-hosts; })); | 4 | programs.ssh.knownHosts = lib.zipAttrsWith (_name: values: builtins.head values) (lib.mapAttrsToList (name: lib.mapAttrs' (type: value: lib.nameValuePair "${name}-${type}" value)) (customUtils.nixImport { dir = ./known-hosts; })); |
5 | 5 | ||
6 | systemd.user.services."ssh-agent".enable = lib.mkForce false; # ssh-agent should be done via home-manager | 6 | systemd.user.services."ssh-agent".enable = lib.mkForce false; # ssh-agent should be done via home-manager |
7 | 7 | ||