more tides configuration

This commit is contained in:
Nathan McCarty 2025-02-12 01:49:06 -05:00
parent 43288e9d33
commit e768957dcd
5 changed files with 19 additions and 15 deletions

17
nixos/modules/ssh.nix Normal file
View 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;
}