nixos/common/remote-access.nix
Ivan Bushchik 6889a37771
minor changes
- add celerrime-x (don't work)
- minor changes (code pretty)

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-09-08 21:07:54 +03:00

20 lines
339 B
Nix

{ cfg, lib, ... }:
let my = import ../.;
in {
services.openssh = {
enable = true;
settings.PasswordAuthentication = false;
# Cute banner, r-right?
banner = ''
Authorized access only!
If you are not authorized to access or use this system, disconnect now!
'';
};
programs.ssh.startAgent = true;
}