Files
lavitz/modules/home/ssh.nix

35 lines
671 B
Nix

{ ... }:
{
programs.ssh = {
enable = true;
enableDefaultConfig = false;
matchBlocks = {
"*" = {
identityAgent = "~/.bitwarden-ssh-agent.sock";
};
"localhost" = {
extraOptions.UserKnownHostsFile = "/dev/null";
};
"tux" = {
hostname = "tuxworld.usask.ca";
user = "atl175";
};
"haschel" = {
hostname = "haschel";
user = "fedora";
};
"lloyd" = {
hostname = "lloyd";
user = "truenas_admin";
};
};
};
xdg.configFile."autostart/gnome-keyring-ssh.desktop".text = ''
[Desktop Entry]
Type=Application
Hidden=true
'';
}