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

View File

@ -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;