2021-09-15 23:17:00 +03:00

23 lines
411 B
Nix

{ pkgs, lib, config, ... }: {
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
forwardX11 = true;
extraConfig = "StreamLocalBindUnlink yes";
ports = [ 22 ];
};
home-manager.users.alukard = {
programs.ssh = {
enable = true;
matchBlocks = {
"*" = {
compression = false;
};
};
};
};
}