Skip to content

Commit

Permalink
fix helix-gpt
Browse files Browse the repository at this point in the history
  • Loading branch information
ldmsh committed Aug 28, 2024
1 parent 4b4479d commit 3401583
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 29 deletions.
65 changes: 41 additions & 24 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};

# ldr-private.url = "git+file:///home/ldr/.dotfiles-private";
# ldr-private.url = "git+file:///home/ldmsh/private-dotfiles";

nixpkgs-working-bun = {
url = "github:nixos/nixpkgs/9e58aca561e18f5197029926db8dbde1738a2ff5";
};

push2talk = {
url = "github:cyrinux/push2talk";
Expand Down
10 changes: 9 additions & 1 deletion hosts/ldr-darwin/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,15 @@ inputs.nix-darwin.lib.darwinSystem rec {
inputs.home-manager.darwinModules.home-manager
../../modules/macos
{
nixpkgs.overlays = [ inputs.firefox-darwin.overlay ];
nixpkgs.overlays = [
inputs.firefox-darwin.overlay
# Add an overlay to override helix-gpt with a specific version of bun
(final: prev: {
helix-gpt = prev.helix-gpt.override {
bun = inputs.nixpkgs-working-bun.legacyPackages.${system}.bun;
};
})
];

home-manager.users.${globals.user}.imports = [
inputs.sops-nix.homeManagerModules.sops
Expand Down
1 change: 0 additions & 1 deletion modules/common/helix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@

language-server.gpt = {
command = "helix-gpt";
args = [ "--handler" "copilot" ];
};

language-server.rust-analyzer.config.check = {
Expand Down
2 changes: 1 addition & 1 deletion modules/macos/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# which
# yq
# zstd

helix-gpt
# nodejs_20
# bun

Expand Down
2 changes: 1 addition & 1 deletion overlay/bin/backup
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

SOURCE=".dotfiles .dotfiles-private .ssh .gnupg .zsh_history $XDG_STATE_HOME/wl-clipboard-manager .password-store .password-store-g .mozilla .mail giveffektivt enowise cloud decrypted $XDG_STATE_HOME/pgcli"
SOURCE=".dotfiles private-dotfiles .ssh .gnupg .zsh_history $XDG_STATE_HOME/wl-clipboard-manager .password-store .password-store-g .mozilla .mail giveffektivt enowise cloud decrypted $XDG_STATE_HOME/pgcli"
BACKUP_PATH="/run/media/$USER/backup_wd_data"
BACKUP_DIR="$BACKUP_PATH/$(date +%Y-%m-%d)"

Expand Down

0 comments on commit 3401583

Please sign in to comment.