How can I check the effective value of a setting such as `settings.allowed-users`?

Hi,

Is there a command to print the effective value of a setting such as settings.allowed-users?

nix config show?

nixos-config

(Message limit)

Thanks all. The command seems to be nixos-option <path>.

For example:

$ nixos-option nixpkgs.config
Value:
  {
    allowUnfree = true;
  }

Default:
  { }

Type:
  nixpkgs config

...
1 Like