diff --git a/modules/shell/fish/functions/fish_user_key_bindings.fish b/modules/shell/fish/functions/fish_user_key_bindings.fish index 04a2915..4c1e991 100644 --- a/modules/shell/fish/functions/fish_user_key_bindings.fish +++ b/modules/shell/fish/functions/fish_user_key_bindings.fish @@ -14,7 +14,7 @@ bind -M insert \cp projects bind -M default \cp projects bind -M insert \x1F accept-autosuggestion bind -M default \x1F accept-autosuggestion -bind -M insert \cn 'commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#"' -bind -M default \cn 'commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#"' +bind -M insert \cn 'commandline -r "nix run nixpkgs#"' +bind -M default \cn 'commandline -r "nix run nixpkgs#"' bind -M insert \x11F nix-fzf bind -M default \x11F nix-fzf diff --git a/modules/shell/nixpkgs.nix b/modules/shell/nixpkgs.nix index e6a1840..0a8358c 100644 --- a/modules/shell/nixpkgs.nix +++ b/modules/shell/nixpkgs.nix @@ -19,9 +19,9 @@ body = '' set program $argv[1] if test (count $argv) -ge 2 - commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#$program -- $argv[2..-1]" + commandline -r "nix run nixpkgs#$program -- $argv[2..-1]" else - commandline -r "nix run github:NixOS/nixpkgs/nixpkgs-unstable#$program" + commandline -r "nix run nixpkgs#$program" end commandline -f execute '';