Skip to content

Commit

Permalink
fix: reenable zed
Browse files Browse the repository at this point in the history
  • Loading branch information
georgewhewell committed Dec 10, 2024
1 parent 58e2151 commit 3513258
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions home/zed.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
let
bins = with pkgs; [
nixd
nixfmt
nixfmt-rfc-style
prettierd
nodejs
nodePackages.prettier
Expand All @@ -19,13 +19,13 @@
in
{
enable = true;
package = with pkgs; writeShellScriptBin "zed" ''
export PATH=${lib.makeBinPath bins}:$PATH
export LD_LIBRARY_PATH=${lib.makeLibraryPath libraries}
export NIX_LD_LIBRARY_PATH=${lib.makeLibraryPath libraries}
export NIX_LD=${stdenv.cc.bintools.dynamicLinker}
exec ${zed-editor}/bin/zed "$@"
'';
# package = with pkgs; writeShellScriptBin "zed" ''
# export PATH=${lib.makeBinPath bins}:$PATH
# export LD_LIBRARY_PATH=${lib.makeLibraryPath libraries}
# export NIX_LD_LIBRARY_PATH=${lib.makeLibraryPath libraries}
# export NIX_LD=${stdenv.cc.bintools.dynamicLinker}
# exec ${zed-editor}/bin/zed "$@"
# '';
userSettings = {
features = {
copilot = true;
Expand All @@ -35,7 +35,7 @@
version = "2";
default_model = {
provider = "anthropic";
model = "claude-3-5-sonnet-20240620";
model = "claude-3-5-sonnet-latest";
};
};
lsp = {
Expand Down
2 changes: 1 addition & 1 deletion machines/darwin-aarch64/darwin-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
../../home/development.nix
../../home/darwin.nix
../../home/vscode.nix
# ../../home/zed.nix
../../home/zed.nix
];
};

Expand Down

0 comments on commit 3513258

Please sign in to comment.