extend ssh config, add yubikey-manager

This commit is contained in:
Hendrik Sokolowski 2023-10-05 23:49:09 +02:00
parent c10bb47e15
commit a03aa75d08

View file

@ -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";