about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorTristan Ross <tristan.ross@midstall.com>2024-06-12 20:08:41 -0700
committerTristan Ross <tristan.ross@midstall.com>2024-06-12 20:08:41 -0700
commit49d5b2b7bacab552a2b6b902527c1c75d68b02c6 (patch)
tree46318c2f27b0bcef0da7c996c1e9b114c5e7f51e /nixos/modules/services
parent3ae3a2654776de57fea9fe104061439cc90d0150 (diff)
downloadnixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar.gz
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar.bz2
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar.lz
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar.xz
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.tar.zst
nixlib-49d5b2b7bacab552a2b6b902527c1c75d68b02c6.zip
nixos/getty: use distro name in default greeting line
Diffstat (limited to 'nixos/modules/services')
-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 011016dd5fd1..e88bb4628635 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 ];
 }