-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from chrishrb/feature/switch-from-copilot-to-o…
…llama Feature/switch from copilot to ollama
- Loading branch information
Showing
16 changed files
with
413 additions
and
227 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# The mw config | ||
# System configuration for my work macbook | ||
|
||
{ inputs, globals, overlays, ... }: | ||
|
||
inputs.darwin.lib.darwinSystem { | ||
system = "aarch64-darwin"; | ||
specialArgs = { inherit inputs; }; | ||
modules = [ | ||
../../modules/common | ||
../../modules/darwin | ||
(globals // { | ||
user = "christophherb"; | ||
}) | ||
inputs.home-manager.darwinModules.home-manager | ||
inputs.nix-homebrew.darwinModules.nix-homebrew | ||
inputs.mac-app-util.darwinModules.default | ||
{ | ||
nixpkgs.overlays = overlays; | ||
|
||
# Darwin specific | ||
networking.hostName = "macbook-christoph"; | ||
|
||
# Turn on all features related to desktop and graphical apps | ||
gui.enable = true; | ||
|
||
# Programs and services | ||
alacritty.enable = true; | ||
chrisNvim.enable = true; | ||
dotfiles.enable = true; | ||
drawio.enable = true; | ||
chrome.enable = true; | ||
|
||
# languaages | ||
python.enable = true; | ||
lua.enable = true; | ||
devops.enable = true; | ||
go.enable = true; | ||
java.enable = false; | ||
web.enable = true; | ||
ai.enable = true; | ||
discord.enable = true; | ||
latex.enable = false; | ||
nixlang.enable = true; | ||
} | ||
]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,11 @@ | ||
<br /> | ||
<div align="center"> | ||
<a href="#"> | ||
<img src=".github/assets/nix-nvim.png" alt="Logo" height="80"> | ||
</a> | ||
</div> | ||
|
||
## Getting started | ||
|
||
```bash | ||
nix run github:chrishrb/nix-nvim | ||
nix run github:chrishrb/nix-dots#nvim | ||
``` | ||
|
||
## Setup Copilot | ||
## Setup AI (avante, cmp, code-gemma) | ||
|
||
1. Enable `ai` in `flake.nix` | ||
2. Start `chrisNvim` and run `:Copilot auth` | ||
3. Have fun using copilot in cmp and `:CopilotChat`, .. | ||
2. Start ollama: `ollama run codegemma` | ||
3. Have fun using local codegemma in cmp and `:Avante`, .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,6 @@ return { | |
Unit = " ", | ||
Value = " ", | ||
Variable = " ", | ||
Copilot = "", | ||
}, | ||
git = { | ||
LineAdded = "", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.