added nix language server

removed ollama
This commit is contained in:
Leyla Becker 2024-10-23 12:10:25 -05:00
parent 1790d785f5
commit 77e3d687d4
4 changed files with 27 additions and 10 deletions

View file

@ -46,10 +46,10 @@ in {
);
services = {
ollama = {
enable = cfg.hasGPU;
acceleration = "cuda";
};
# ollama = {
# enable = cfg.hasGPU;
# acceleration = "cuda";
# };
# TODO: this should reference the home directory from the user config
openssh.hostKeys = [

View file

@ -1,9 +1,7 @@
{
lib,
config,
osConfig,
pkgs,
inputs,
...
}: let
cfg = osConfig.nixos.users.leyla;

View file

@ -36,10 +36,18 @@ in {
"cSpell.userWords" = [
"webdav"
];
"nix.serverPath" = "nixd";
"nix.enableLanguageServer" = true;
"nixpkgs" = {
"expr" = "import <nixpkgs> {}";
};
# "fomratting": {
# "command": [ "alejandra" ];
# };
};
extensions = (
with extensions.open-vsx;
with open-vsx;
[
# vs code feel extensions
ms-vscode.atom-keybindings
@ -68,10 +76,10 @@ in {
# misc extensions
bungcip.better-toml
open-vsx."10nates".ollama-autocoder
# lib.mkIf open-vsx."10nates".ollama-autocoder
]
++ (
with extensions.vscode-marketplace; [
with vscode-marketplace; [
# js extensions
karyfoundation.nearley
]