2022-11-30 04:29:21 +01:00
|
|
|
{ config, lib, pkgs, ... } :
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.local.apps.editors;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.local.apps.editors.enable = mkEnableOption "Text editors";
|
|
|
|
|
|
|
|
imports = [ ./vscode ];
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
2022-11-30 04:47:43 +01:00
|
|
|
local.apps.editors.vscode.enable = mkDefault true;
|
2022-11-30 04:29:21 +01:00
|
|
|
|
2022-11-30 04:47:43 +01:00
|
|
|
programs = {
|
|
|
|
neovim.enable = true;
|
|
|
|
helix.enable = true;
|
|
|
|
};
|
2022-11-30 04:29:21 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|