change mkOption of mkEnableOption

This commit is contained in:
ulic-youthlic 2025-01-17 15:28:53 +08:00
parent ec9ea69470
commit 5bc9540ef3
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.ghostty = {
enable = lib.mkOption {
type = lib.types.bool;
example = false;
default = true;
description = ''
whether enable ghostty
'';
};
enable = lib.mkEnableOption "ghostty";
};
};
config =