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

@ -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 =