aboutsummaryrefslogtreecommitdiffstats
path: root/sys/svcs/getty
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-28 23:38:20 +0200
committerSoispha <soispha@vhack.eu>2023-08-28 23:38:20 +0200
commit6f925a58419f0cbe7eb7615ec3e335694065d8e5 (patch)
treec69febf1804bd617fa831ed2171bec11f2a123a4 /sys/svcs/getty
parentFix(sys/font): Correct the font names (diff)
downloadnixos-config-6f925a58419f0cbe7eb7615ec3e335694065d8e5.zip
Feat(sys/svcs/getty): Init
Diffstat (limited to 'sys/svcs/getty')
-rw-r--r--sys/svcs/getty/default.nix42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys/svcs/getty/default.nix b/sys/svcs/getty/default.nix
new file mode 100644
index 00000000..aefdb1b4
--- /dev/null
+++ b/sys/svcs/getty/default.nix
@@ -0,0 +1,42 @@
+{
+ lib,
+ config,
+ ...
+}: {
+ services.getty = {
+ greetingLine = lib.mkForce ''
+ [?25l[?7l 
+  ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ 
+  ▜███▙ ▜███▙ ▟███▛ 
+  ▜███▙ ▜███▙▟███▛ 
+  ▜███▙ ▜██████▛ 
+  ▟█████████████████▙ ▜████▛ ▟▙ 
+  ▟███████████████████▙ ▜███▙ ▟██▙ 
+  ▄▄▄▄▖ ▜███▙ ▟███▛ 
+  ▟███▛ ▜██▛ ▟███▛ 
+  ▟███▛ ▜▛ ▟███▛ 
+ ▟███████████▛ ▟██████████▙
+ ▜██████████▛ ▟███████████▛
+  ▟███▛ ▟▙ ▟███▛ 
+  ▟███▛ ▟██▙ ▟███▛ 
+  ▟███▛ ▜███▙ ▝▀▀▀▀ 
+  ▜██▛ ▜███▙ ▜██████████████████▛ 
+  ▜▛ ▟████▙ ▜████████████████▛ 
+  ▟██████▙ ▜███▙ 
+  ▟███▛▜███▙ ▜███▙ 
+  ▟███▛ ▜███▙ ▜███▙ 
+  ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ 
+  
+  NixOS ${config.system.nixos.label} 
+  --------------
+ 
+   date: \d
+   time: \t
+   ipv4: \4
+   ipv6: \6
+   tty: \l
+ 
+ '';
+ autologinUser = "soispha";
+ };
+}