mirror of
https://github.com/ivabus/nixos
synced 2024-11-24 17:35:07 +03:00
Ivan Bushchik
6889a37771
- add celerrime-x (don't work) - minor changes (code pretty) Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
19 lines
339 B
Nix
19 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;
|
|
}
|