mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 20:17:45 +00:00
Update motd
This commit is contained in:
parent
c2deac2f09
commit
f348ee2e3a
4 changed files with 50 additions and 38 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -10,6 +10,7 @@
|
||||||
!modules/
|
!modules/
|
||||||
!modules/hyprland/
|
!modules/hyprland/
|
||||||
!modules/nushell/
|
!modules/nushell/
|
||||||
|
!modules/openssh/
|
||||||
|
|
||||||
!lib/
|
!lib/
|
||||||
|
|
||||||
|
@ -22,6 +23,7 @@
|
||||||
|
|
||||||
!*.age
|
!*.age
|
||||||
!*.gif
|
!*.gif
|
||||||
|
!*.hist
|
||||||
!*.md
|
!*.md
|
||||||
!*.nix
|
!*.nix
|
||||||
!*.nu
|
!*.nu
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
{ ulib, ... }: with ulib;
|
|
||||||
|
|
||||||
serverSystemConfiguration {
|
|
||||||
programs.mosh = enabled {
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
services.openssh = enabled {
|
|
||||||
banner = ''
|
|
||||||
_________________________________________
|
|
||||||
/ You will pay for your sins. If you have \
|
|
||||||
| already paid, please disregard this |
|
|
||||||
\ message. /
|
|
||||||
-----------------------------------------
|
|
||||||
\ / \ //\
|
|
||||||
\ |\___/| / \// \\
|
|
||||||
/0 0 \__ / // | \ \
|
|
||||||
/ / \/_/ // | \ \
|
|
||||||
@_^_@'/ \/_ // | \ \
|
|
||||||
//_^_/ \/_ // | \ \
|
|
||||||
( //) | \/// | \ \
|
|
||||||
( / /) _|_ / ) // | \ _\
|
|
||||||
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-.
|
|
||||||
(( / / )) ,-{ _ `-.|.-~-. .~ `.
|
|
||||||
(( // / )) '/\ / ~-. _ .-~ .-~^-. \
|
|
||||||
(( /// )) `. { } / \ \
|
|
||||||
(( / )) .----~-.\ \-' .~ \ `. \^-.
|
|
||||||
///.----..> \ _ -~ `. ^-` ^-_
|
|
||||||
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
|
|
||||||
/.-~
|
|
||||||
'';
|
|
||||||
ports = [ 2222 ];
|
|
||||||
settings = {
|
|
||||||
KbdInteractiveAuthentication = false;
|
|
||||||
PasswordAuthentication = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
27
modules/openssh/default.nix
Normal file
27
modules/openssh/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ ulib, ... }: with ulib;
|
||||||
|
|
||||||
|
serverSystemConfiguration {
|
||||||
|
programs.mosh = enabled {
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
services.openssh = enabled {
|
||||||
|
banner = ''
|
||||||
|
_______________________________________
|
||||||
|
/ If God doesn't destroy San Francisco, \
|
||||||
|
| He should apologize to Sodom and |
|
||||||
|
\ Gomorrah. /
|
||||||
|
---------------------------------------
|
||||||
|
\ ^__^
|
||||||
|
\ (oo)\_______
|
||||||
|
(__)\ )\/\
|
||||||
|
||----w |
|
||||||
|
|| ||
|
||||||
|
'';
|
||||||
|
ports = [ 2222 ];
|
||||||
|
settings = {
|
||||||
|
KbdInteractiveAuthentication = false;
|
||||||
|
PasswordAuthentication = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
21
modules/openssh/motd.hist
Normal file
21
modules/openssh/motd.hist
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
_________________________________________
|
||||||
|
/ You will pay for your sins. If you have \
|
||||||
|
| already paid, please disregard this |
|
||||||
|
\ message. /
|
||||||
|
-----------------------------------------
|
||||||
|
\ / \ //\
|
||||||
|
\ |\___/| / \// \\
|
||||||
|
/0 0 \__ / // | \ \
|
||||||
|
/ / \/_/ // | \ \
|
||||||
|
@_^_@'/ \/_ // | \ \
|
||||||
|
//_^_/ \/_ // | \ \
|
||||||
|
( //) | \/// | \ \
|
||||||
|
( / /) _|_ / ) // | \ _\
|
||||||
|
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-.
|
||||||
|
(( / / )) ,-{ _ `-.|.-~-. .~ `.
|
||||||
|
(( // / )) '/\ / ~-. _ .-~ .-~^-. \
|
||||||
|
(( /// )) `. { } / \ \
|
||||||
|
(( / )) .----~-.\ \-' .~ \ `. \^-.
|
||||||
|
///.----..> \ _ -~ `. ^-` ^-_
|
||||||
|
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
|
||||||
|
/.-~
|
Loading…
Add table
Add a link
Reference in a new issue