change mkOption of mkEnableOption
This commit is contained in:
parent
ec9ea69470
commit
5bc9540ef3
7 changed files with 9 additions and 63 deletions
|
|
@ -8,14 +8,7 @@
|
|||
{
|
||||
options = {
|
||||
youthlic.programs.gpg = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
example = false;
|
||||
description = ''
|
||||
whether enable gpg
|
||||
'';
|
||||
};
|
||||
enable = lib.mkEnableOption "gpg";
|
||||
};
|
||||
};
|
||||
config =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue