From 6f925a58419f0cbe7eb7615ec3e335694065d8e5 Mon Sep 17 00:00:00 2001 From: Soispha Date: Mon, 28 Aug 2023 23:38:20 +0200 Subject: Feat(sys/svcs/getty): Init --- sys/svcs/default.nix | 1 + sys/svcs/getty/default.nix | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 sys/svcs/getty/default.nix (limited to 'sys') 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  +  ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖  +  ▜███▙ ▜███▙ ▟███▛  +  ▜███▙ ▜███▙▟███▛  +  ▜███▙ ▜██████▛  +  ▟█████████████████▙ ▜████▛ ▟▙  +  ▟███████████████████▙ ▜███▙ ▟██▙  +  ▄▄▄▄▖ ▜███▙ ▟███▛  +  ▟███▛ ▜██▛ ▟███▛  +  ▟███▛ ▜▛ ▟███▛  + ▟███████████▛ ▟██████████▙ + ▜██████████▛ ▟███████████▛ +  ▟███▛ ▟▙ ▟███▛  +  ▟███▛ ▟██▙ ▟███▛  +  ▟███▛ ▜███▙ ▝▀▀▀▀  +  ▜██▛ ▜███▙ ▜██████████████████▛  +  ▜▛ ▟████▙ ▜████████████████▛  +  ▟██████▙ ▜███▙  +  ▟███▛▜███▙ ▜███▙  +  ▟███▛ ▜███▙ ▜███▙  +  ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘  +   +  NixOS ${config.system.nixos.label}  +  -------------- +  +   date: \d +   time: \t +   ipv4: \4 +   ipv6: \6 +   tty: \l +  + ''; + autologinUser = "soispha"; + }; +} -- cgit 1.4.1