beatific: move ascii banner to motd
This commit is contained in:
parent
b8589fba6c
commit
95572febd5
|
@ -155,7 +155,8 @@ in {
|
|||
|
||||
(mkIf cfg.defaults.ssh {
|
||||
services.openssh.enable = true;
|
||||
services.openssh.banner = let
|
||||
services.openssh.settings.PrintMotd = true;
|
||||
environment.etc."motd".text = let
|
||||
ascii = import ./ascii.nix;
|
||||
in ascii.${cfg.hostName} or ascii.beatific;
|
||||
networking.firewall.allowPing = true;
|
||||
|
|
Loading…
Reference in New Issue