1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2026-01-17 02:31:06 +00:00
ncc/modules/ssh.nix
2024-01-29 21:40:32 +03:00

28 lines
582 B
Nix

{ ulib, pkgs, ... }: with ulib; merge
(desktopSystemPackages (with pkgs; [
mosh
]))
(desktopHomeConfiguration {
programs.ssh = enabled {
matchBlocks."*".setEnv = {
COLORTERM = "truecolor";
TERM = "xterm-256color";
};
matchBlocks.cube = {
hostname = "5.255.78.70";
user = "rgb";
port = 2222;
identityFile = "~/.ssh/id";
};
matchBlocks.robotic = {
hostname = "86.105.252.189";
user = "rgbcube";
port = 2299;
identityFile = "~/.ssh/id";
};
};
})