aboutsummaryrefslogtreecommitdiffstats
path: root/sys/svcs/getty
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--modules/system/services/issue_file/default.nix (renamed from sys/svcs/getty/default.nix)13
1 files changed, 5 insertions, 8 deletions
diff --git a/sys/svcs/getty/default.nix b/modules/system/services/issue_file/default.nix
index 7e8a4e46..930be1d9 100644
--- a/sys/svcs/getty/default.nix
+++ b/modules/system/services/issue_file/default.nix
@@ -1,10 +1,7 @@
-{
- lib,
- config,
- ...
-}: {
- services.getty = {
- greetingLine = lib.mkForce ''
+{config, ...}: {
+ environment.etc.issue = {
+ # Friendly greeting on the virtual consoles.
+ text = ''
[?25l[?7l 
 ▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖ 
 ▜███▙ ▜███▙ ▟███▛ 
@@ -27,7 +24,7 @@
 ▟███▛ ▜███▙ ▜███▙ 
 ▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘ 
 
-  NixOS ${config.system.nixos.label} 
+  NixOS ${config.system.nixos.label} 
 --------------

  date: \d