mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
46 lines
978 B
Nix
46 lines
978 B
Nix
{ pkgs, config, lib, ... }:
|
|
let
|
|
inherit (import <niveum/lib>) sshPort kieran;
|
|
in {
|
|
services.xserver.displayManager.sessionCommands = "${pkgs.openssh}/bin/ssh-add";
|
|
|
|
programs.ssh.startAgent = true;
|
|
|
|
users.users.me.openssh.authorizedKeys.keys = kieran.sshKeys pkgs;
|
|
|
|
home-manager.users.me.programs.ssh = {
|
|
enable = true;
|
|
matchBlocks = {
|
|
"github.com" = {
|
|
hostname = "ssh.github.com";
|
|
port = 443;
|
|
};
|
|
zaatar = {
|
|
hostname = "zaatar.local";
|
|
user = "root";
|
|
port = sshPort;
|
|
};
|
|
makanek = {
|
|
hostname = "88.99.83.173";
|
|
user = "root";
|
|
port = sshPort;
|
|
};
|
|
homeros = {
|
|
hostname = "homeros.r";
|
|
user = "kfm";
|
|
port = sshPort;
|
|
};
|
|
toum = {
|
|
hostname = "toum.r";
|
|
user = "kfm";
|
|
port = sshPort;
|
|
};
|
|
wilde = {
|
|
hostname = "wilde.r";
|
|
user = "kfm";
|
|
port = sshPort;
|
|
};
|
|
};
|
|
};
|
|
}
|