diff --git a/modules/common/ssh/default.nix b/modules/common/ssh/default.nix index a83abe4..d82fde1 100644 --- a/modules/common/ssh/default.nix +++ b/modules/common/ssh/default.nix @@ -53,7 +53,8 @@ in { }; })]; - environment.systemPackages = mkIf config.isDesktop [ - pkgs.mosh - ]; + environment = mkIf config.isDesktop { + systemPackages = [ pkgs.mosh ]; + shellAliases.mosh = "mosh --no-init"; + }; }