From f0588afcb4a8b27fda5dbcfa31226e01d638f146 Mon Sep 17 00:00:00 2001
From: Jens Nolte <jens@nightmarestudio.de>
Date: Tue, 10 Dec 2019 21:48:46 +0100
Subject: [PATCH] Create visual-hostkey alias

---
 nixos/layers/zsh.nix | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/nixos/layers/zsh.nix b/nixos/layers/zsh.nix
index 9bd6cec..e796dba 100644
--- a/nixos/layers/zsh.nix
+++ b/nixos/layers/zsh.nix
@@ -48,6 +48,8 @@ fi
     myip = "drill @resolver1.opendns.com any myip.opendns.com";
     myipv4 = "drill -4 @resolver1.opendns.com any myip.opendns.com";
     myipv6 = "drill -6 @resolver1.opendns.com any myip.opendns.com";
+
+    visual-hostkey = "ssh-keygen -lvf /etc/ssh/ssh_host_ed25519_key.pub";
   };
 
   environment.shellInit = ''
-- 
GitLab