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