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:
parent
0449e34bc0
commit
2f644166f1
2 changed files with 13 additions and 3 deletions
|
@ -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 ];
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue