2025-06-08 10:45:20 +08:00
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
config,
|
|
|
|
|
...
|
2025-07-13 06:04:55 +08:00
|
|
|
}:
|
|
|
|
|
let
|
2025-06-08 10:45:20 +08:00
|
|
|
cfg = config.youthlic.programs.ion;
|
2025-07-13 06:04:55 +08:00
|
|
|
in
|
|
|
|
|
{
|
2025-06-08 10:45:20 +08:00
|
|
|
options = {
|
|
|
|
|
youthlic.programs.ion = {
|
|
|
|
|
enable = lib.mkEnableOption "ion";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
|
programs.ion = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|