cleverca22
10/23/2016 - 2:05 AM

man configuration.nix

[root@amd-nixos:~]# nixos-option users.users.clever.name
Value:
"clever"

Default:
<None>

Description:

The name of the user account. If undefined, the name of the
attribute set will be used.

Declared by:
  "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/users-groups.nix"

Defined by:
  "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/config/users-groups.nix"


[root@amd-nixos:~]# nix-repl
Welcome to Nix version 1.11.4. Type :? for help.

nix-repl> :l <nixpkgs/nixos>
Added 6 variables.

nix-repl> options.services.openssh.enable.description
"Whether to enable the OpenSSH secure shell daemon, which\nallows secure remote logins.\n"

nix-repl> 
       users.users.<name?>.name
           The name of the user account. If undefined, the name of the attribute set will be used.

           Type: string

           Declared by:
               <nixpkgs/nixos/modules/config/users-groups.nix>