Getty
services.getty.autologinUser
Username of the account that will be automatically logged in at the console. If unspecified, a login prompt is shown as usual.
Type: null or string
Default
null
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix
services.getty.extraArgs
Additional arguments passed to agetty.
Type: list of string
Default
[ ]
Example
["--nohostname"]
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix
services.getty.greetingLine
Welcome line printed by agetty. The default shows current NixOS version label, machine type and tty.
Type: string
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix
services.getty.helpLine
Help line printed by agetty below the welcome line. Used by the installation CD to give some hints on how to proceed.
Type: strings concatenated with "\n"
Default
""
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix
services.getty.loginOptions
Template for arguments to be passed to
{manpage}login(1)
.
See {manpage}agetty(1)
for details,
including security considerations. If unspecified, agetty
will not be invoked with a {option}--login-options
option.
Type: null or string
Default
null
Example
"-h darkstar -- \\u"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix
services.getty.loginProgram
Path to the login binary executed by agetty.
Type: path
Default
"${pkgs.shadow}/bin/login"
Declared by: https://github.com/nixos/nixpkgs/blob/master/nixos/modules/services/ttys/getty.nix