more tides configuration
This commit is contained in:
parent
43288e9d33
commit
e768957dcd
5 changed files with 19 additions and 15 deletions
17
nixos/modules/ssh.nix
Normal file
17
nixos/modules/ssh.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
ciphers = ["chacha20-poly1305@openssh.com"];
|
||||
PermitRootLogin = "no";
|
||||
PasswordAuthentication = false;
|
||||
};
|
||||
};
|
||||
|
||||
programs.mosh.enable = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue