MyNixOS website logo

The user's username.

If Home Manager is installed as a NixOS or nix-darwin submodule, it is set to osConfig.users.users.<name>.name.

Declarations
Type
non-empty string
Default
{
  _type = "literalMD";
  text = ''
    `''$USER`,   for state version &lt; 20.09,
    undefined, otherwise.
  '';
}
Example
"jane.doe"