base: add ssh config file

This commit is contained in:
Daniel Lovbrotte Olsen 2021-12-22 04:57:40 +01:00
parent 967e29628c
commit aff7c0ef63
1 changed files with 24 additions and 0 deletions

View File

@ -137,6 +137,30 @@ in {
};
programs.ssh = {
enable = true;
matchBlocks = {
"lilith" = {
hostname = "lilith.d.d.dodsorf.as";
user = "dandellion";
};
"desktop" = {
hostname = "10.42.42.10";
user = "dan";
};
"laptop" = {
hostname = "10.42.42.13";
user = "daniel";
};
"pvv.ntnu.no" = {
user = "danio";
};
"*.pvv.ntnu.no" = {
user = "danio";
};
};
};
# services.kdeconnect = {
# enable = true;
# indicator = true;