mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
grub module: use enum
This commit is contained in:
parent
797d40767d
commit
80b854739c
1 changed files with 1 additions and 2 deletions
|
@ -324,8 +324,7 @@ in
|
||||||
|
|
||||||
fsIdentifier = mkOption {
|
fsIdentifier = mkOption {
|
||||||
default = "uuid";
|
default = "uuid";
|
||||||
type = types.addCheck types.str
|
type = types.enum [ "uuid" "label" "provided" ];
|
||||||
(type: type == "uuid" || type == "label" || type == "provided");
|
|
||||||
description = ''
|
description = ''
|
||||||
Determines how GRUB will identify devices when generating the
|
Determines how GRUB will identify devices when generating the
|
||||||
configuration file. A value of uuid / label signifies that grub
|
configuration file. A value of uuid / label signifies that grub
|
||||||
|
|
Loading…
Reference in a new issue