mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 01:18:30 +09:00
17 lines
306 B
Nix
17 lines
306 B
Nix
{ lib, config, ... }:
|
|
let
|
|
cfg = config.my.features.gui.editor;
|
|
in
|
|
{
|
|
options.my.features.gui.editor = {
|
|
enable = lib.mkEnableOption "GUI code editors (VSCode and Zed)";
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
my.applications = {
|
|
vscode.enable = true;
|
|
zed.enable = true;
|
|
};
|
|
};
|
|
}
|