mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 02:18:12 +09:00
delete
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.applications.zed;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./home.nix
|
||||
];
|
||||
|
||||
options.my.applications.zed = {
|
||||
enable = lib.mkEnableOption "Zed code editor";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
my.applications.zed.homeManager.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.my.applications.zed.homeManager;
|
||||
in
|
||||
{
|
||||
options.my.applications.zed.homeManager = {
|
||||
enable = lib.mkEnableOption "Zed home-manager configuration";
|
||||
};
|
||||
|
||||
config.home-manager.sharedModules = [
|
||||
{
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
extensions = [
|
||||
"catppuccin"
|
||||
"nix"
|
||||
];
|
||||
mutableUserSettings = false;
|
||||
|
||||
userSettings = {
|
||||
agent = {
|
||||
flexible = true;
|
||||
favorite_models = [ ];
|
||||
model_parameters = [ ];
|
||||
};
|
||||
|
||||
project_panel.dock = "left";
|
||||
|
||||
telemetry = {
|
||||
diagnostics = false;
|
||||
metrics = false;
|
||||
};
|
||||
|
||||
vim_mode = true;
|
||||
|
||||
agent_servers = {
|
||||
github-copilot-cli.type = "registry";
|
||||
codex-acp.type = "registry";
|
||||
claude-acp.type = "registry";
|
||||
};
|
||||
|
||||
icon_theme = {
|
||||
mode = "dark";
|
||||
light = "Zed (Default)";
|
||||
dark = "Zed (Default)";
|
||||
};
|
||||
|
||||
ui_font_size = 16;
|
||||
buffer_font_size = 16;
|
||||
|
||||
theme = {
|
||||
mode = "dark";
|
||||
light = "Catppuccin Latte";
|
||||
dark = "Catppuccin Mocha";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user