Skip to content

Commit

Permalink
Bump flake, use qwen coder model instead of starcoder
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Dec 1, 2024
1 parent c55d96a commit bb7b27e
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 58 deletions.
94 changes: 47 additions & 47 deletions flake.lock

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

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
systems.url = "github:nix-systems/default-linux";

nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgsUnstableSmall.url = "github:NixOS/nixpkgs/nixos-unstable-small";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable";

flake-compat.url = "github:edolstra/flake-compat";

Expand Down
4 changes: 2 additions & 2 deletions home/editors/vscode/extensions.nix
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
}
];
tabAutocompleteModel = {
title = "StarCoder2";
title = "Qwen Coder";
provider = "ollama";
model = "starcoder2:15b";
model = "qwen2.5-coder:3b";
};
};
}
6 changes: 1 addition & 5 deletions home/programs/games/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
pkgs,
inputs,
...
}: {
{pkgs, ...}: {
imports = [
./mangohud.nix
];
Expand Down
4 changes: 2 additions & 2 deletions home/programs/gtk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
inputs,
...
}: let
pkgsUnstableSmall = import inputs.nixpkgsUnstableSmall {system = "x86_64-linux";};
pkgs-unstable = import inputs.nixpkgs-unstable {system = "x86_64-linux";};
in {
home.pointerCursor = {
# https://nixpk.gs/pr-tracker.html?pr=359604
package = pkgsUnstableSmall.bibata-cursors;
package = pkgs-unstable.bibata-cursors;
name = "Bibata-Modern-Ice";
size = 24;
gtk.enable = true;
Expand Down
2 changes: 1 addition & 1 deletion system/services/ollama.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ in {
enable = true;
package = pkgs.ollama-rocm;
port = port;
loadModels = ["llama3.2" "starcoder2:15b"];
loadModels = ["llama3.2" "qwen2.5-coder:3b"];
acceleration = "rocm";
rocmOverrideGfx = "10.3.0";
};
Expand Down

0 comments on commit bb7b27e

Please sign in to comment.