From a03aa75d088debd949c4aebdeef29ccb7de7d000 Mon Sep 17 00:00:00 2001 From: Hendrik Sokolowski Date: Thu, 5 Oct 2023 23:49:09 +0200 Subject: [PATCH] extend ssh config, add yubikey-manager --- users/hensoko/ssh.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/users/hensoko/ssh.nix b/users/hensoko/ssh.nix index c53d17bd..a49551b3 100644 --- a/users/hensoko/ssh.nix +++ b/users/hensoko/ssh.nix @@ -9,6 +9,8 @@ with lib; let psCfg = config.pub-solar; in { home-manager = pkgs.lib.setAttrByPath ["users" psCfg.user.name] { + home.packages = [pkgs.yubikey-manager]; + programs.ssh = { enable = true; matchBlocks = { @@ -22,19 +24,28 @@ in { user = "root"; port = 2222; }; + "cube" = { + user = "iot"; + hostname = "10.0.1.5"; + }; "ringo" = { hostname = "192.168.42.231"; user = "hensoko"; port = 22; }; + "giggles.lan" = { + user = "iot"; + }; "giggles" = { user = "iot"; + hostname = "10.0.1.11"; }; "norman" = { user = "hensoko"; }; "cox" = { user = "iot"; + hostname = "10.0.1.12"; }; "companion" = { user = "iot";