6 .Nd inspect a NixOS configuration
19 This command evaluates the configuration specified in
20 .Pa /etc/nixos/configuration.nix
21 and returns the properties of the option name given as argument.
24 When the option name is not an option, the command prints the list of attributes
25 contained in the attribute set.
30 .Bl -tag -width indent
32 Print all the values at or below the specified path recursively.
35 This option is passed to the underlying
43 .Bl -tag -width indent
45 Path to the main NixOS configuration module. Defaults to
46 .Pa /etc/nixos/configuration.nix Ns
53 Investigate option values:
54 .Bd -literal -offset indent
55 $ nixos-option boot.loader
56 This attribute set contains:
61 $ nixos-option boot.loader.grub.enable
69 Whether to enable the GNU GRUB boot loader.
72 "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
75 "/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
81 .Xr configuration.nix 5
89 .An the Nixpkgs/NixOS contributors