1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Use Mosh, this is amazing

This commit is contained in:
RGBCube 2024-01-19 15:54:09 +03:00
parent 0449e34bc0
commit 2f644166f1
No known key found for this signature in database
2 changed files with 13 additions and 3 deletions

View file

@ -1,6 +1,10 @@
{ ulib, ... }: with ulib;
serverSystemConfiguration {
programs.mosh = enabled {
openFirewall = true;
};
services.openssh = enabled {
banner = "Welcome to RGBCube's server!\n";
ports = [ 2222 ];

View file

@ -1,6 +1,12 @@
{ ulib, ... }: with ulib;
{ ulib, pkgs, ... }: with ulib; merge
(desktopSystemPackages (with pkgs; [
mosh
]))
(desktopHomeConfiguration {
programs.nushell.shellAliases.ssh = "mosh";
desktopHomeConfiguration {
programs.ssh = enabled {
matchBlocks."*".setEnv.TERM = "xterm-256color";
@ -18,4 +24,4 @@ desktopHomeConfiguration {
identityFile = "~/.ssh/id";
};
};
}
})