19 lines
318 B
Nix
19 lines
318 B
Nix
|
{ 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 {
|
||
|
local.apps.editors.vscode = mkDefault true;
|
||
|
|
||
|
neovim.enable = true;
|
||
|
helix.enable = true;
|
||
|
};
|
||
|
|
||
|
}
|