82 lines
1.6 KiB
Nix
82 lines
1.6 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
self,
|
|
...
|
|
}:
|
|
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 = {
|
|
"builder" = {
|
|
hostname = "data.gssws.de";
|
|
user = "builder";
|
|
port = 2222;
|
|
};
|
|
"hsha" = {
|
|
hostname = "192.168.42.5";
|
|
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.lan" = {
|
|
user = "iot";
|
|
};
|
|
"cox" = {
|
|
user = "iot";
|
|
hostname = "10.0.1.12";
|
|
};
|
|
"companion" = {
|
|
user = "iot";
|
|
hostname = "10.0.1.13";
|
|
};
|
|
"chonk" = {
|
|
hostname = "80.244.242.2";
|
|
user = "iot";
|
|
port = 2222;
|
|
};
|
|
"mail" = {
|
|
hostname = "mail.gssws.de";
|
|
user = "root";
|
|
port = 2222;
|
|
};
|
|
"git" = {
|
|
hostname = "git.gssws.de";
|
|
user = "git";
|
|
port = 2222;
|
|
};
|
|
|
|
"falcone" = {
|
|
hostname = "192.168.42.117";
|
|
user = "iot";
|
|
};
|
|
};
|
|
extraConfig = "PubKeyAcceptedKeyTypes +ssh-rsa";
|
|
};
|
|
};
|
|
}
|