mirror of
https://github.com/ivabus/nixos
synced 2024-11-25 01:45:06 +03:00
Add SSH banner
This commit is contained in:
parent
c2535f5754
commit
bc026ea567
2 changed files with 7 additions and 2 deletions
|
@ -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