diff options
author | Soispha <soispha@vhack.eu> | 2023-08-28 23:38:20 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-28 23:38:20 +0200 |
commit | 6f925a58419f0cbe7eb7615ec3e335694065d8e5 (patch) | |
tree | c69febf1804bd617fa831ed2171bec11f2a123a4 /sys/svcs | |
parent | Fix(sys/font): Correct the font names (diff) | |
download | nixos-config-6f925a58419f0cbe7eb7615ec3e335694065d8e5.tar.gz nixos-config-6f925a58419f0cbe7eb7615ec3e335694065d8e5.zip |
Feat(sys/svcs/getty): Init
Diffstat (limited to 'sys/svcs')
-rw-r--r-- | sys/svcs/default.nix | 1 | ||||
-rw-r--r-- | sys/svcs/getty/default.nix | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/sys/svcs/default.nix b/sys/svcs/default.nix index c4b95394..d4698310 100644 --- a/sys/svcs/default.nix +++ b/sys/svcs/default.nix @@ -3,6 +3,7 @@ ./backup ./dconf ./fwupd + ./getty ./nix ./openssh ./postgresql 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[38;2;255;77;77m [39m[49m + [38;2;255;77;77m ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ [39m[49m + [38;2;255;77;77m ▜███▙ ▜███▙ ▟███▛ [39m[49m + [38;2;255;77;77m ▜███▙ ▜███▙▟███▛ [39m[49m + [38;2;255;175;77m ▜███▙ ▜██████▛ [39m[49m + [38;2;255;175;77m ▟█████████████████▙ ▜████▛ ▟▙ [39m[49m + [38;2;255;175;77m ▟███████████████████▙ ▜███▙ ▟██▙ [39m[49m + [38;2;255;175;77m ▄▄▄▄▖ ▜███▙ ▟███▛ [39m[49m + [38;2;255;243;77m ▟███▛ ▜██▛ ▟███▛ [39m[49m + [38;2;255;243;77m ▟███▛ ▜▛ ▟███▛ [39m[49m + [38;2;255;243;77m▟███████████▛ ▟██████████▙[39m[49m + [38;2;79;252;121m▜██████████▛ ▟███████████▛[39m[49m + [38;2;79;252;121m ▟███▛ ▟▙ ▟███▛ [39m[49m + [38;2;79;252;121m ▟███▛ ▟██▙ ▟███▛ [39m[49m + [38;2;77;130;255m ▟███▛ ▜███▙ ▝▀▀▀▀ [39m[49m + [38;2;77;130;255m ▜██▛ ▜███▙ ▜██████████████████▛ [39m[49m + [38;2;77;130;255m ▜▛ ▟████▙ ▜████████████████▛ [39m[49m + [38;2;77;130;255m ▟██████▙ ▜███▙ [39m[49m + [38;2;233;77;255m ▟███▛▜███▙ ▜███▙ [39m[49m + [38;2;233;77;255m ▟███▛ ▜███▙ ▜███▙ [39m[49m + [38;2;233;77;255m ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ [39m[49m + [38;2;233;77;255m [39m[49m[0m + [17A[9999999D[46C[34m[1m NixOS ${config.system.nixos.label} [0m + [46C[0m --------------[0m + [46C + [46C [34m[1m date: [0m\d + [46C [34m[1m time: [0m\t + [46C [34m[1m ipv4: [0m\4 + [46C [34m[1m ipv6: [0m\6 + [46C [34m[1m tty: [0m\l + [22B + ''; + autologinUser = "soispha"; + }; +} |