nix-managed-macbook/programs/zed.nix

83 lines
1.6 KiB
Nix
Raw Normal View History

2024-11-26 20:33:25 +05:30
{
inputs,
config,
pkgs,
...
}:
{
programs.zed-editor = {
enable = true;
extensions = [
"assembly"
"brainfuck"
"ini"
"just"
"nix"
"roc"
"haskell"
"toml"
2024-12-30 12:20:36 +05:30
"typos"
2024-11-26 20:33:25 +05:30
];
userSettings = {
flake.lock: Update Flake lock file updates: • Updated input 'home-manager': 'github:nix-community/home-manager/94605dcadefeaff6b35c8931c9f38e4f4dc7ad0a' (2025-03-20) → 'github:nix-community/home-manager/717030011980e9eb31eb8ce011261dd532bce92c' (2025-03-30) • Updated input 'lix-module': 'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/b90bf629bbd835e61f1317b99e12f8c831017006.tar.gz?narHash=sha256-YMLrcBpf0TR5r/eaqm8lxzFPap2TxCor0ZGcK3a7%2Bb8%3D&rev=b90bf629bbd835e61f1317b99e12f8c831017006' (2025-01-18) → 'https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/868d97695bab9d21f6070b03957bcace249fbe3c.tar.gz?narHash=sha256-fprwZKE1uMzO9tiWWOrmLWBW3GPkMayQfb0xOvVFIno%3D&rev=868d97695bab9d21f6070b03957bcace249fbe3c' (2025-03-25) • Updated input 'lix-module/lix': 'https://git.lix.systems/api/v1/repos/lix-project/lix/archive/2837da71ec1588c1187d2e554719b15904a46c8b.tar.gz?narHash=sha256-CCKIAE84dzkrnlxJCKFyffAxP3yfsOAbdvydUGqq24g%3D&rev=2837da71ec1588c1187d2e554719b15904a46c8b' (2025-01-18) → 'https://git.lix.systems/api/v1/repos/lix-project/lix/archive/079528098f5998ba13c88821a2eca1005c1695de.tar.gz?narHash=sha256-pgDJZjj4jpzkFxsqBTI/9Yb0n3gW%2BDvDtuv9SwQZZcs%3D&rev=079528098f5998ba13c88821a2eca1005c1695de' (2025-01-18) • Updated input 'nix-darwin': 'github:LnL7/nix-darwin/2d9b63316926aa130a5a51136d93b9be28808f26' (2025-03-19) → 'github:LnL7/nix-darwin/53d0f0ed11487a4476741fde757d0feabef4cc4e' (2025-03-29) • Updated input 'nix-index-database': 'github:nix-community/nix-index-database/2cfb4e1ca32f59dd2811d7a6dd5d4d1225f0955c' (2025-03-17) → 'github:nix-community/nix-index-database/b3696bfb6c24aa61428839a99e8b40c53ac3a82d' (2025-03-30) • Updated input 'nix-vscode-extensions': 'github:nix-community/nix-vscode-extensions/fee770e654c49d69aacbdaf291c8af819a67bb35' (2025-03-20) → 'github:nix-community/nix-vscode-extensions/67cb5eb0efdeeb23a5635a6f41069d577a66f754' (2025-03-30) • Updated input 'nixpkgs': 'github:nixos/nixpkgs/3549532663732bfd89993204d40543e9edaec4f2' (2025-03-18) → 'github:nixos/nixpkgs/6c5963357f3c1c840201eda129a99d455074db04' (2025-03-27) • Updated input 'nixpkgs-stable': 'github:nixos/nixpkgs/6c8e4e4546146ddf05e9433ca560fa6260d00a14' (2025-03-18) → 'github:nixos/nixpkgs/453afb364c2283e67601d88de7f80132e7322eb7' (2025-03-28)
2025-03-30 11:43:58 +05:30
theme = "Gruvbox Dark Hard";
2024-11-26 20:33:25 +05:30
telemetry = {
diagnostic = false;
metrics = false;
};
2024-11-30 10:14:40 +05:30
buffer_font_family = "PragmataPro Mono Liga"; # "Zed Plex Mono";
2024-11-26 20:33:25 +05:30
ui_font_size = 16;
2024-11-30 10:14:40 +05:30
buffer_font_size = 13;
2024-11-26 20:33:25 +05:30
confirm_quit = true;
cursor_blink = false;
tab_size = 2;
terminal = {
font_family = "Zed Plex Mono";
shell = {
program = "/etc/profiles/per-user/abhinav/bin/fish";
};
copy_on_select = true;
};
indent_guides = {
enabled = true;
coloring = "indent_aware";
};
wrap_guides = [ 100 ];
2024-11-30 10:14:40 +05:30
assistant = {
default_model = {
provider = "ollama";
model = "qwen2.5-coder:latest";
};
version = "2";
};
2024-11-26 20:33:25 +05:30
languages = {
Haskell = {
tab_size = 2;
format_on_save = "on";
wrap_guides = [ 100 ];
};
Nix = {
tab_size = 2;
};
};
lsp = {
hls = {
initialization_options = {
sessionLoading = "multiComponent";
};
};
nixd = {
formatting = {
command = [
"nixfmt"
"-s"
"-w"
"100"
];
};
};
};
};
};
}