feat: massive refactor
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
{ config, lib, ... }:
|
||||
lib.my.makeSwitch {
|
||||
inherit config;
|
||||
optionName = "all coding tools";
|
||||
optionPath = [
|
||||
"coding"
|
||||
"all"
|
||||
];
|
||||
config' = {
|
||||
let
|
||||
cfg = config.my.coding.all;
|
||||
in
|
||||
{
|
||||
options.my.coding.all = {
|
||||
enable = lib.mkEnableOption "all coding tools";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.coding = {
|
||||
editor.all.enable = true;
|
||||
langs.all.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user