change mkOption of mkEnableOption

This commit is contained in:
ulic-youthlic 2025-01-17 15:28:53 +08:00
parent 9d5f62c337
commit ae041d5988
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
7 changed files with 9 additions and 63 deletions

View file

@ -7,14 +7,7 @@
{
options = {
youthlic.programs.helix = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = ''
enable helix editor
'';
};
enable = lib.mkEnableOption "helix";
extraPackages = lib.mkOption {
type = lib.types.listOf lib.types.package;
default = [ ];