Compare commits
No commits in common. "cab698dad5a6e3186a739e801c2cc467664ed0ec" and "d9e94d99c12923d1ec26ef0fa792cb974736a2ce" have entirely different histories.
cab698dad5
...
d9e94d99c1
3 changed files with 5 additions and 41 deletions
|
@ -51,6 +51,7 @@
|
|||
brightnessctl
|
||||
networkmanagerapplet
|
||||
# Apps launchable from bindings
|
||||
firefox
|
||||
kitty
|
||||
yazi
|
||||
# Yazi requirements
|
||||
|
@ -61,8 +62,6 @@
|
|||
vlc
|
||||
qbittorrent
|
||||
webcord
|
||||
# Firefox PWA
|
||||
firefoxpwa
|
||||
];
|
||||
|
||||
home.pointerCursor = {
|
||||
|
@ -81,11 +80,6 @@
|
|||
};
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
nativeMessagingHosts = [pkgs.firefoxpwa];
|
||||
};
|
||||
|
||||
# bar is required
|
||||
imports = [
|
||||
../../bar
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
helix
|
||||
lsp-ai
|
||||
home.packages = [
|
||||
pkgs.helix
|
||||
];
|
||||
|
||||
home.file = {
|
||||
|
|
|
@ -1,34 +1,5 @@
|
|||
##############################
|
||||
## Configuration for lsp-ai ##
|
||||
##############################
|
||||
|
||||
[language-server.lsp-ai]
|
||||
command = "lsp-ai"
|
||||
|
||||
[language-server.lsp-ai.config.memory]
|
||||
file_store = { }
|
||||
|
||||
[language-server.lsp-ai.config.models.codestral]
|
||||
type = "mistral_fim"
|
||||
fim_endpoint = "https://codestral.mistral.ai/v1/fim/completions"
|
||||
model = "codestral-latest"
|
||||
auth_token_env_var_name = "CODESTRAL_API_KEY"
|
||||
|
||||
[language-server.lsp-ai.config.completion]
|
||||
model = "codestral"
|
||||
|
||||
[language-server.lsp-ai.config.completion.parameters]
|
||||
max_tokens = 64
|
||||
max_context = 1024
|
||||
|
||||
|
||||
#################################
|
||||
## Configuration for languages ##
|
||||
#################################
|
||||
|
||||
[[language]]
|
||||
name = "rust"
|
||||
language-servers = [ "rust-analyzer", "lsp-ai" ]
|
||||
|
||||
[language.debugger]
|
||||
command = "codelldb"
|
||||
|
@ -49,7 +20,7 @@ runInTerminal = false
|
|||
|
||||
[[language]]
|
||||
name = "python"
|
||||
language-servers = [ "pyright", "ruff", "lsp-ai" ]
|
||||
language-servers = [ "pyright", "ruff" ]
|
||||
|
||||
[language-server.pyright.config.python.analysis]
|
||||
typeCheckingMode = "basic"
|
||||
|
@ -102,7 +73,7 @@ formatter = { command = 'prettier', args = ["--parser", "css"] }
|
|||
name = "scss"
|
||||
formatter = { command = "prettier", args = ["--stdin-filepath", "dummy.scss"] }
|
||||
indent = { tab-width = 4, unit = "\t" }
|
||||
language-servers = ["vscode-css-language-server", "lsp-ai"]
|
||||
language-servers = ["vscode-css-language-server"]
|
||||
auto-format = true
|
||||
|
||||
[[language]]
|
||||
|
|
Loading…
Reference in a new issue