Add some host-specific ascii banners
This commit is contained in:
parent
de253930e3
commit
ce4a568809
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
beatific = ''
|
||||
____ ______ _______ _____ ______ _____ ______ ./|,,/|
|
||||
| _ \| ____| /\ |__ __|_ _| ____|_ _|/ ____/ < o o|
|
||||
| |_) | |__ / \ | | | | | |__ | | | | <\ ( |
|
||||
| _ <| __| / /\ \ | | | | | __| | | | | <\\ |\ |
|
||||
| |_) | |____/ ____ \ | | _| |_| | _| |_| |___<\\\ |(__)
|
||||
|____/|_____/_/ \_\|_| |_____|_| |_____|\_____|\\ |
|
||||
'';
|
||||
|
||||
backyard = ''
|
||||
____ ______ _ ____ __ _____ _____ ./|,,/|
|
||||
| _ \ /\ / ____/| | / /\ \ / / /\ | __ \| __ \ < o o|
|
||||
| |_) | / \ | | | |/ / \ \ / / / \ | |__) | | | |</ ( |
|
||||
| _ < / /\ \| | | < \ / / /\ \ | _ /| | | |// |\ |
|
||||
| |_) / ____ | |____ | |\ \ | | / ____ \| | \ \| |__| |// |(__)
|
||||
|____/_/ \_\_____\|_| \_\ |_|/_/ \_|_| \_|_____//// |
|
||||
'';
|
||||
|
||||
catacomb = ''
|
||||
______ _______ ______ ____ __ __ ____ ./|,,/|
|
||||
/ ____/ /\ |__ __| /\ / ____// __ \| \ / | _ \ < o o|
|
||||
| | / \ | | / \ | | | | | | \_/ | |_) | ( |
|
||||
| | / /\ \ | | / /\ \| | | | | | |\ /| | _ <\\ |\ |
|
||||
| |____ / ____ \ | | / ____ | |__ _| |__| | | \_/ | | |_) |\ |(__)
|
||||
\_____/_/ \_\|_|/_/ \_\_____\\____/|_| |_|____/\\ |
|
||||
'';
|
||||
}
|
|
@ -86,15 +86,9 @@ in {
|
|||
|
||||
(mkIf cfg.defaults.ssh {
|
||||
services.openssh.enable = true;
|
||||
services.openssh.banner = ''
|
||||
____ ______ _______ _____ ______ _____ ______ ./|,,/|
|
||||
| _ \| ____| /\ |__ __|_ _| ____|_ _|/ ____/ < o o|
|
||||
| |_) | |__ / \ | | | | | |__ | | | | <\ ( |
|
||||
| _ <| __| / /\ \ | | | | | __| | | | | <\\ |\ |
|
||||
| |_) | |____/ ____ \ | | _| |_| | _| |_| |___<\\\ |(__)
|
||||
|____/|_____/_/ \_\|_| |_____|_| |_____|\_____|\\ |
|
||||
|
||||
'';
|
||||
services.openssh.banner = let
|
||||
ascii = import ./ascii.nix;
|
||||
in ascii.${cfg.hostName} or ascii.beatific;
|
||||
networking.firewall.allowPing = true;
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue