about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authortomberek <tomberek@users.noreply.github.com>2024-06-14 21:54:16 -0400
committerGitHub <noreply@github.com>2024-06-14 21:54:16 -0400
commita1ce83de7ca5a9aa5f727e74d11751cbb98a1a41 (patch)
tree0716940d6e5ee65f61b63e792e320153de8fcbfd /nixos
parent9c9a83cf204e3f4eac52dc6e99657733bec5ef9c (diff)
parent49d5b2b7bacab552a2b6b902527c1c75d68b02c6 (diff)
Merge pull request #319459 from ExpidusOS/feat/tty-greeter-line
nixos/getty: use distro name in default greeting line
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/ttys/getty.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix
index 011016dd5fd14..e88bb4628635e 100644
--- a/nixos/modules/services/ttys/getty.nix
+++ b/nixos/modules/services/ttys/getty.nix
@@ -101,7 +101,7 @@ in
   config = {
     # Note: this is set here rather than up there so that changing
     # nixos.label would not rebuild manual pages
-    services.getty.greetingLine = mkDefault ''<<< Welcome to NixOS ${config.system.nixos.label} (\m) - \l >>>'';
+    services.getty.greetingLine = mkDefault ''<<< Welcome to ${config.system.nixos.distroName} ${config.system.nixos.label} (\m) - \l >>>'';
     services.getty.helpLine = mkIf (config.documentation.nixos.enable && config.documentation.doc.enable) "\nRun 'nixos-help' for the NixOS manual.";
 
     systemd.services."getty@" =
@@ -158,4 +158,5 @@ in
 
   };
 
+  meta.maintainers = with maintainers; [ RossComputerGuy ];
 }