thrall: Extract mosh config
This commit is contained in:
parent
00d33dad5a
commit
54be778731
3 changed files with 10 additions and 3 deletions
|
|
@ -16,6 +16,7 @@
|
||||||
../../modules/ssh.nix
|
../../modules/ssh.nix
|
||||||
../../modules/tailscale
|
../../modules/tailscale
|
||||||
../../modules/vsftpd
|
../../modules/vsftpd
|
||||||
|
../../modules/mosh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
config.boot.loader.grub.enable = true;
|
config.boot.loader.grub.enable = true;
|
||||||
|
|
@ -110,7 +111,6 @@
|
||||||
|
|
||||||
config.programs.firefox.enable = true;
|
config.programs.firefox.enable = true;
|
||||||
config.programs.git.enable = true;
|
config.programs.git.enable = true;
|
||||||
config.programs.mosh.enable = true;
|
|
||||||
config.programs.nm-applet.enable = true;
|
config.programs.nm-applet.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ in
|
||||||
../../modules/ssh.nix
|
../../modules/ssh.nix
|
||||||
../../modules/hledger-web.nix
|
../../modules/hledger-web.nix
|
||||||
../../modules/tailscale
|
../../modules/tailscale
|
||||||
|
../../modules/mosh.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the GRUB 2 boot loader.
|
# Use the GRUB 2 boot loader.
|
||||||
|
|
@ -89,7 +90,6 @@ in
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
53
|
53
|
||||||
42666
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -172,7 +172,6 @@ in
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.mosh.enable = true;
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
|
|
||||||
8
modules/mosh.nix
Normal file
8
modules/mosh.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.mosh = {
|
||||||
|
enable = true;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue