mirror of
https://github.com/ivabus/nixos
synced 2024-11-10 02:25:18 +03:00
Add SSH banner
This commit is contained in:
parent
c2535f5754
commit
bc026ea567
|
@ -4,6 +4,13 @@
|
|||
services.openssh = {
|
||||
enable = true;
|
||||
settings.PasswordAuthentication = false;
|
||||
banner = ''
|
||||
|
||||
Authorized access only!
|
||||
|
||||
If you are not authorized to access or use this system, disconnect now!
|
||||
|
||||
'';
|
||||
};
|
||||
programs.mosh.enable = true;
|
||||
}
|
|
@ -7,8 +7,6 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "vetus";
|
||||
time.timeZone = "Europe/Moscow";
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue