1
1
Fork 0

beatific: move ascii banner to motd

This commit is contained in:
Tim Van Baak 2024-07-18 22:34:47 -07:00
parent b8589fba6c
commit 95572febd5
1 changed files with 2 additions and 1 deletions

View File

@ -155,7 +155,8 @@ in {
(mkIf cfg.defaults.ssh { (mkIf cfg.defaults.ssh {
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.banner = let services.openssh.settings.PrintMotd = true;
environment.etc."motd".text = let
ascii = import ./ascii.nix; ascii = import ./ascii.nix;
in ascii.${cfg.hostName} or ascii.beatific; in ascii.${cfg.hostName} or ascii.beatific;
networking.firewall.allowPing = true; networking.firewall.allowPing = true;