nixos-option: fixes as suggested by @nbp
This commit is contained in:
parent
0d35711412
commit
18d9904433
|
@ -71,7 +71,7 @@ Description:
|
||||||
Whether to enable the GNU GRUB boot loader.
|
Whether to enable the GNU GRUB boot loader.
|
||||||
|
|
||||||
Declared by:
|
Declared by:
|
||||||
"/path/to/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
|
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
|
||||||
|
|
||||||
Defined by:
|
Defined by:
|
||||||
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
|
"/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs/nixos/modules/system/boot/loader/grub/grub.nix"
|
||||||
|
|
|
@ -182,7 +182,9 @@ if test "$(evalOpt "_type" 2> /dev/null)" = '"option"'; then
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
if example=$(evalOpt "example" - 2> /dev/null); then
|
if example=$(evalOpt "example" - 2> /dev/null); then
|
||||||
echo "Example: $example"
|
echo "Example:"
|
||||||
|
echo "$example"
|
||||||
|
echo
|
||||||
fi
|
fi
|
||||||
echo "Description:"
|
echo "Description:"
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue