Merge pull request #319459 from ExpidusOS/feat/tty-greeter-line

nixos/getty: use distro name in default greeting line
This commit is contained in:
tomberek 2024-06-14 21:54:16 -04:00 committed by GitHub
commit a1ce83de7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 ];
}