New modules for home manager

This commit is contained in:
pazpi 2024-09-15 11:22:50 +02:00
parent 6777fca56b
commit 5bd6bb27fe
5 changed files with 375 additions and 0 deletions

25
modules/home/ssh.nix Normal file
View file

@ -0,0 +1,25 @@
{ ... }:
{
programs.ssh = {
enable = true;
addKeysToAgent = "yes";
matchBlocks = {
"ts.pazpi.top" = {
hostname = "linux-krzo.neon-dory.ts.net";
user = "pazpi";
};
"vps.spain.1" = {
hostname = "93.93.112.9";
user = "pazpi";
};
"vps.dutch.1" = {
hostname = "192.71.151.141";
user = "root";
};
};
};
}