Open aleeusgr opened 6 months ago
x 3.5k impressions,
Factors: pic, "mindful developer community", 7 AM UTC
![image](https://github.com/aleeusgr/nix-things/assets/36756030/6a49106f-cbf4-49e6-83b0-a8f817adb429)
![image](https://github.com/aleeusgr/nix-things/assets/36756030/bc2f60e2-43cd-4269-9cc2-7f5b7204192a)
![image](https://github.com/aleeusgr/nix-things/assets/36756030/4dc68796-7874-4d3e-b50b-97a025fd989c)
![image](https://github.com/aleeusgr/nix-things/assets/36756030/8083e48f-5003-4ad7-8993-4574c53257ad)
A mindful developer community is a group of software developers and technologists who prioritize mental well-being, emotional intelligence, and sustainable practices in their work environment and professional interactions. This community values the importance of self-awareness, empathy, collaboration, and continuous learning to create an inclusive, supportive atmosphere that fosters personal growth and innovation.
text
index e98cf1a..4aa24b1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -3,11 +3,17 @@
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
- home-manager.url = "github:nix-community/home-manager";
- home-manager.inputs.nixpkgs.follows = "nixpkgs";
+ home-manager = {
+ url = "github:nix-community/home-manager";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
+ codeium = {
+ url = "github:jcdickinson/codeium.nvim";
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
};
- outputs = inputs@{ nixpkgs, home-manager, ... }: {
+ outputs = inputs@{ nixpkgs, home-manager, codeium, ... }: {
nixosConfigurations = {
vivo = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
+++ b/home.nix
@@ -40,6 +40,16 @@ let
#ihaskell-blaze
#ghcup
];
+ nvimWithCodeium = neovim.override {
+ configure = {
+ customRC = ''
+ lua require("codeium").setup()
+ '';
+ packages.myPlugins = {
+ start = [vimPlugins.codeium-nvim vimPlugins.plenary-nvim vimPlugins.nvim-cmp];
+ };
+ };
+ };
in
{
dconf = {
@@ -72,6 +82,7 @@ in
# Neovim is starting to get huge; should move to a separate file.
neovim = {
enable = true;
+ package = nvimWithCodeium;
add llm-ls: https://github.com/roman3pm/manix/blob/9cdee1f93ab2de92bf557945400c5546ac082e06/profiles/home.nix#L53
add llm-nvim: https://github.com/roman3pm/manix/blob/9cdee1f93ab2de92bf557945400c5546ac082e06/profiles/neovim/default.nix#L54-L60
add lua config: https://github.com/roman3pm/manix/blob/9cdee1f93ab2de92bf557945400c5546ac082e06/profiles/neovim/lsp.lua#L196-L205
askai.sh improvements.
Add option to read arbitrary text file or input.
Make accessible globally via home manager.
Try Continue + VSCode Setup guide: https://docs.continue.dev/walkthroughs/set-up-codestral?ref=blog.continue.dev
Running Continue without Internet: https://docs.continue.dev/walkthroughs/running-continue-without-internet
VS Code plugin: https://marketplace.visualstudio.com/items?itemName=Continue.continue
Codestral keys: https://console.mistral.ai/codestralcontinune
Suggested local models for Chat, Autocomplete, and Embeddings: https://docs.continue.dev/setup/select-model
Description:
As a developer on NixOS, I'd like to integrate an AI coding assistant with Neovim to enhance my coding experience. This assistant should provide real-time suggestions, code completion, and debugging assistance to help me write more efficient and accurate code.
Current Behavior:
Currently, I'm using Neovim as my editor on NixOS, but I'm missing the benefits of an AI-powered coding assistant. I've tried installing various plugins and extensions, but none of them provide the level of AI-driven assistance I need.
Desired Behavior:
I'd like to see an AI coding assistant integrated with Neovim on NixOS that provides the following features:
Technical Requirements:
To implement this feature, I'd like to see the following technical requirements met:
Acceptance Criteria:
To confirm that the AI coding assistant is working correctly, the following acceptance criteria should be met:
Estimated Time: 2-3 weeks