diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-08-08 11:53:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 11:53:10 +0200 |
commit | 661c29c806409f2883f2445e42583206426ffd46 (patch) | |
tree | aa9e06c7cffb5fe4037d6fd05b39e3e91d1e7644 /nixos/modules/services/ttys | |
parent | 251f5be0bc0606fb085d21d3218883187a702782 (diff) | |
parent | 9aa588ecc394f140681a0d68b635b3cf45ade411 (diff) | |
download | nixlib-661c29c806409f2883f2445e42583206426ffd46.tar nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.gz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.bz2 nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.lz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.xz nixlib-661c29c806409f2883f2445e42583206426ffd46.tar.zst nixlib-661c29c806409f2883f2445e42583206426ffd46.zip |
Merge pull request #181222 from hercules-ci/module-specialArgs
`_module.specialArgs` + unit test for nixos/documentation module
Diffstat (limited to 'nixos/modules/services/ttys')
-rw-r--r-- | nixos/modules/services/ttys/getty.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/ttys/getty.nix b/nixos/modules/services/ttys/getty.nix index d2bebb9c245b..e8efe72577c5 100644 --- a/nixos/modules/services/ttys/getty.nix +++ b/nixos/modules/services/ttys/getty.nix @@ -104,6 +104,7 @@ in # 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.helpLine = mkIf (config.documentation.nixos.enable && config.documentation.doc.enable) "\nRun 'nixos-help' for the NixOS manual."; systemd.services."getty@" = { serviceConfig.ExecStart = [ |