23 lines
411 B
Nix
Raw Normal View History

2020-08-05 22:51:19 +04:00
{ pkgs, lib, config, ... }: {
2021-09-15 18:39:44 +03:00
services.openssh = {
enable = true;
passwordAuthentication = false;
permitRootLogin = "no";
forwardX11 = true;
extraConfig = "StreamLocalBindUnlink yes";
ports = [ 22 ];
};
2020-08-15 19:36:16 +04:00
home-manager.users.alukard = {
2021-09-15 18:39:44 +03:00
programs.ssh = {
enable = true;
matchBlocks = {
"*" = {
compression = false;
};
};
};
2020-08-15 19:36:16 +04:00
};
}