nixos/getty: use distro name in default greeting line
This commit is contained in:
parent
3ae3a26547
commit
49d5b2b7ba
@ -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 ];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user