summaryrefslogtreecommitdiff
path: root/system-profiles/openssh/default.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-01-30 15:04:22 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-01-30 15:04:22 +0100
commit5dcab6777ba563e8fd1c773e56419a8eb5177182 (patch)
tree5988a6c0198aa912fcb0998c40ad288ae84725df /system-profiles/openssh/default.nix
parent1066e7a197f27b674ebcb4152add91a47b43519f (diff)
downloadnixos-5dcab6777ba563e8fd1c773e56419a8eb5177182.tar
nixos-5dcab6777ba563e8fd1c773e56419a8eb5177182.tar.gz
nixos-5dcab6777ba563e8fd1c773e56419a8eb5177182.tar.bz2
nixos-5dcab6777ba563e8fd1c773e56419a8eb5177182.tar.xz
nixos-5dcab6777ba563e8fd1c773e56419a8eb5177182.zip
...
Diffstat (limited to 'system-profiles/openssh/default.nix')
-rw-r--r--system-profiles/openssh/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/system-profiles/openssh/default.nix b/system-profiles/openssh/default.nix
index 6370b920..d54ea6f3 100644
--- a/system-profiles/openssh/default.nix
+++ b/system-profiles/openssh/default.nix
@@ -2,6 +2,9 @@
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.nixImport { 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 programs.ssh.knownHostsFiles = [
6 ./known-hosts/borgbase.keys
7 ];
5 8
6 systemd.user.services."ssh-agent".enable = lib.mkForce false; # ssh-agent should be done via home-manager 9 systemd.user.services."ssh-agent".enable = lib.mkForce false; # ssh-agent should be done via home-manager
7 10