thrall: Extract mosh config

This commit is contained in:
Alexander Kobjolke 2024-12-14 23:05:08 +01:00
parent 00d33dad5a
commit 54be778731
3 changed files with 10 additions and 3 deletions

View file

@ -16,6 +16,7 @@
../../modules/ssh.nix
../../modules/tailscale
../../modules/vsftpd
../../modules/mosh.nix
];
config.boot.loader.grub.enable = true;
@ -110,7 +111,6 @@
config.programs.firefox.enable = true;
config.programs.git.enable = true;
config.programs.mosh.enable = true;
config.programs.nm-applet.enable = true;
# Define a user account. Don't forget to set a password with passwd.

View file

@ -29,6 +29,7 @@ in
../../modules/ssh.nix
../../modules/hledger-web.nix
../../modules/tailscale
../../modules/mosh.nix
];
# Use the GRUB 2 boot loader.
@ -89,7 +90,6 @@ in
];
allowedUDPPorts = [
53
42666
];
};
@ -172,7 +172,6 @@ in
enableSSHSupport = true;
};
programs.mosh.enable = true;
programs.neovim = {
enable = true;
defaultEditor = true;

8
modules/mosh.nix Normal file
View file

@ -0,0 +1,8 @@
{ ... }:
{
programs.mosh = {
enable = true;
openFirewall = true;
};
}