mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-24 07:03:12 +01:00
set up ssh for gitea
This commit is contained in:
19
home.nix
19
home.nix
@@ -1269,4 +1269,23 @@ in
|
||||
newSession = true;
|
||||
terminal = "kitty";
|
||||
};
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
"git.pvv.ntnu.no" = {
|
||||
hostname = "git.pvv.ntnu.no";
|
||||
user = "gitea";
|
||||
addressFamily = "inet";
|
||||
port = 2222;
|
||||
proxyJump = "hildring";
|
||||
};
|
||||
|
||||
"hildring" = {
|
||||
hostname = "hildring.pvv.ntnu.no";
|
||||
user = "frero";
|
||||
addressFamily = "inet";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user