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