feat(editors): migrate Zed config from JSON settings
- Add CLI behavior and agent UI font size settings - Merge duplicated agent block with dock/default_profile/version - Keep Anthropic default model (claude-4) from current active block - Add agent_servers registry configuration for pi-acp - Add rust_analyzer binary path_lookup setting - Add panel layout (project, outline, collaboration, git docks to left) - Remove placeholder context_server (example only) - Add SSH connections for m3-atlas, self-host-playbook, m3-daedalus - Update features with copilot=false and inline_prediction_provider - Preserve edit_predictions provider setting - Add default_profile=ask for agent
This commit is contained in:
@@ -1 +0,0 @@
|
||||
{"_type":"issue","id":"nixpkgs-ng1","title":"Configure agent git identity in nixpkgs repo","description":"Git commits are using p@m3ta.dev instead of m3ta-chiron@agentmail.to. The GIT_AUTHOR_NAME and GIT_AUTHOR_EMAIL environment variables are not set in this environment. Need to configure the agent git identity for this repository following the pattern in AGENTS.md","status":"open","priority":2,"issue_type":"task","owner":"p@m3ta.dev","created_at":"2026-04-27T18:16:17Z","created_by":"m3tm3re","updated_at":"2026-04-27T18:16:17Z","dependency_count":0,"dependent_count":0,"comment_count":0}
|
||||
@@ -86,11 +86,15 @@ in {
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
userSettings = {
|
||||
# CLI Behavior
|
||||
cli_default_open_behavior = "existing_window";
|
||||
# UI and Theme
|
||||
theme = "Dracula";
|
||||
ui_font_size = 16;
|
||||
buffer_font_size = 16;
|
||||
buffer_font_family = "FiraCode Nerd Font";
|
||||
# Agent UI
|
||||
agent_ui_font_size = 24.0;
|
||||
# Editor Behavior
|
||||
vim_mode = true;
|
||||
auto_update = false;
|
||||
@@ -98,19 +102,22 @@ in {
|
||||
load_direnv = "shell_hook";
|
||||
# AI Features
|
||||
features = {
|
||||
edit_prediction_provider = "zed";
|
||||
copilot = false;
|
||||
inline_prediction_provider = "zed";
|
||||
};
|
||||
edit_predictions = {
|
||||
mode = "subtle";
|
||||
provider = "zed";
|
||||
};
|
||||
show_edit_predictions = true;
|
||||
agent_servers = {
|
||||
"pi-acp" = {
|
||||
type = "registry";
|
||||
};
|
||||
};
|
||||
agent = {
|
||||
default_model = {
|
||||
provider = "zed.dev";
|
||||
model = "claude-sonnet-4";
|
||||
};
|
||||
};
|
||||
assistant = {
|
||||
dock = "right";
|
||||
default_profile = "ask";
|
||||
version = "2";
|
||||
default_model = {
|
||||
provider = "anthropic";
|
||||
@@ -162,23 +169,29 @@ in {
|
||||
};
|
||||
};
|
||||
};
|
||||
rust_analyzer = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
pyrefly = {
|
||||
binary = {
|
||||
arguments = ["--lsp"];
|
||||
};
|
||||
};
|
||||
};
|
||||
# Context Servers
|
||||
context_servers = {
|
||||
some-context-server = {
|
||||
source = "custom";
|
||||
command = "some-command";
|
||||
args = [
|
||||
"arg-1"
|
||||
"arg-2"
|
||||
];
|
||||
env = {};
|
||||
# Panel Layout
|
||||
project_panel = {
|
||||
dock = "left";
|
||||
};
|
||||
outline_panel = {
|
||||
dock = "left";
|
||||
};
|
||||
collaboration_panel = {
|
||||
dock = "left";
|
||||
};
|
||||
git_panel = {
|
||||
dock = "left";
|
||||
};
|
||||
# Privacy
|
||||
telemetry = {
|
||||
@@ -187,6 +200,38 @@ in {
|
||||
};
|
||||
};
|
||||
})
|
||||
# SSH Connections
|
||||
(mkIf cfg.zed.enable {
|
||||
programs.zed-editor.userSettings.ssh_connections = [
|
||||
{
|
||||
nickname = "m3-atlas";
|
||||
host = "152.53.85.162";
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
}
|
||||
{
|
||||
nickname = "self-host-playbook";
|
||||
host = "95.217.189.186";
|
||||
port = 2222;
|
||||
args = ["-i" "~/.ssh/self-host-playbook"];
|
||||
projects = [
|
||||
{
|
||||
paths = ["/etc/nixos/current-systemconfig"];
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
nickname = "m3-daedalus";
|
||||
host = "192.168.1.152";
|
||||
port = 22;
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
projects = [
|
||||
{
|
||||
paths = ["/home/m3tam3re/home-config"];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
})
|
||||
# Common packages (always installed if either editor is enabled)
|
||||
(mkIf (cfg.neovim.enable || cfg.zed.enable) {
|
||||
home.packages = with pkgs; [zig];
|
||||
|
||||
Reference in New Issue
Block a user