Unverified Commit a1ce83de authored by tomberek's avatar tomberek Committed by GitHub
Browse files

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

nixos/getty: use distro name in default greeting line
parents 9c9a83cf 49d5b2b7
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 ];
}