+m3-daedalus
This commit is contained in:
@ -20,6 +20,8 @@ in {
|
||||
$env.TERMINAL = "kitty"
|
||||
$env.EDITOR = "nvim"
|
||||
$env.VISUAL = "zed"
|
||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
||||
$env.FZF_DEFAULT_OPTS = "--preview='bat --color=always -n {}' --bind 'ctrl-/:toggle-preview' --header 'Press CTRL-Y to copy command into clipboard' --bind 'ctrl-/:toggle-preview' --bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort' --color bg:#282a36,bg+:#44475a,fg:#f8f8f2,fg+:#f8f8f2,header:#6272a4,hl:#bd93f9,hl+:#bd93f9,info:#ffb86c,marker:#ff79c6,pointer:#ff79c6,prompt:#50fa7b,spinner:#ffb86c"
|
||||
$env.XDG_DATA_HOME = $"($env.HOME)/.local/share"
|
||||
$env.FZF_DEFAULT_COMMAND = "fd --type f --exclude .git --follow --hidden"
|
||||
$env.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh"
|
||||
|
@ -9,7 +9,6 @@
|
||||
# Scientific packages
|
||||
numba
|
||||
numpy
|
||||
openai-whisper
|
||||
torch
|
||||
srt
|
||||
]))
|
||||
|
@ -5,7 +5,7 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.features.desktop.office;
|
||||
cfg = config.features.desktop.coding;
|
||||
in {
|
||||
options.features.desktop.coding.enable =
|
||||
mkEnableOption "install coding related stuff";
|
||||
@ -18,98 +18,98 @@ in {
|
||||
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
# userSettings = {
|
||||
# features = {
|
||||
# inline_prediction_provider = "zed";
|
||||
# edit_prediction_provider = "zed";
|
||||
# copilot = false;
|
||||
# };
|
||||
# telemetry = {
|
||||
# metrics = false;
|
||||
# };
|
||||
# lsp = {
|
||||
# rust_analyzer = {
|
||||
# binary = {path_lookup = true;};
|
||||
# };
|
||||
# };
|
||||
# languages = {
|
||||
# Nix = {
|
||||
# language_servers = ["nixd"];
|
||||
# formatter = {
|
||||
# external = {
|
||||
# command = "alejandra";
|
||||
# arguments = ["-q" "-"];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# Python = {
|
||||
# language_servers = ["pyright"];
|
||||
# formatter = {
|
||||
# external = {
|
||||
# command = "black";
|
||||
# arguments = ["-"];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# context_servers = {
|
||||
# "some-context-server" = {
|
||||
# command = {
|
||||
# path = "some-command";
|
||||
# args = ["arg-1" "arg-2"];
|
||||
# env = {};
|
||||
# };
|
||||
# settings = {};
|
||||
# };
|
||||
# };
|
||||
# assistant = {
|
||||
# version = "2";
|
||||
# default_model = {
|
||||
# provider = "anthropic";
|
||||
# model = "Claude 3.7 Sonnet";
|
||||
# };
|
||||
# };
|
||||
# language_models = {
|
||||
# anthropic = {
|
||||
# version = "1";
|
||||
# api_url = "https://api.anthropic.com";
|
||||
# };
|
||||
# openai = {
|
||||
# version = "1";
|
||||
# api_url = "https://api.openai.com/v1";
|
||||
# };
|
||||
# ollama = {
|
||||
# api_url = "http://localhost:11434";
|
||||
# };
|
||||
# };
|
||||
# ssh_connections = [
|
||||
# {
|
||||
# host = "152.53.85.162";
|
||||
# nickname = "m3-atlas";
|
||||
# args = ["-i" "~/.ssh/m3tam3re"];
|
||||
# }
|
||||
# {
|
||||
# host = "95.217.189.186";
|
||||
# port = 2222;
|
||||
# nickname = "self-host-playbook";
|
||||
# args = ["-i" "~/.ssh/self-host-playbook"];
|
||||
# "projects" = [
|
||||
# {
|
||||
# paths = ["/etc/nixos/current-systemconfig"];
|
||||
# }
|
||||
# ];
|
||||
# }
|
||||
# ];
|
||||
# auto_update = false;
|
||||
# format_on_save = "on";
|
||||
# vim_mode = true;
|
||||
# load_direnv = "shell_hook";
|
||||
# theme = "Dracula";
|
||||
# buffer_font_family = "FiraCode Nerd Font";
|
||||
# ui_font_size = 16;
|
||||
# buffer_font_size = 16;
|
||||
# show_edit_predictions = true;
|
||||
# };
|
||||
userSettings = {
|
||||
features = {
|
||||
inline_prediction_provider = "zed";
|
||||
edit_prediction_provider = "zed";
|
||||
copilot = false;
|
||||
};
|
||||
telemetry = {
|
||||
metrics = false;
|
||||
};
|
||||
lsp = {
|
||||
rust_analyzer = {
|
||||
binary = {path_lookup = true;};
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
Nix = {
|
||||
language_servers = ["nixd"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "alejandra";
|
||||
arguments = ["-q" "-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
Python = {
|
||||
language_servers = ["pyright"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "black";
|
||||
arguments = ["-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
context_servers = {
|
||||
"some-context-server" = {
|
||||
command = {
|
||||
path = "some-command";
|
||||
args = ["arg-1" "arg-2"];
|
||||
env = {};
|
||||
};
|
||||
settings = {};
|
||||
};
|
||||
};
|
||||
assistant = {
|
||||
version = "2";
|
||||
default_model = {
|
||||
provider = "anthropic";
|
||||
model = "Claude 3.7 Sonnet";
|
||||
};
|
||||
};
|
||||
language_models = {
|
||||
anthropic = {
|
||||
version = "1";
|
||||
api_url = "https://api.anthropic.com";
|
||||
};
|
||||
openai = {
|
||||
version = "1";
|
||||
api_url = "https://api.openai.com/v1";
|
||||
};
|
||||
ollama = {
|
||||
api_url = "http://localhost:11434";
|
||||
};
|
||||
};
|
||||
ssh_connections = [
|
||||
{
|
||||
host = "152.53.85.162";
|
||||
nickname = "m3-atlas";
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
}
|
||||
{
|
||||
host = "95.217.189.186";
|
||||
port = 2222;
|
||||
nickname = "self-host-playbook";
|
||||
args = ["-i" "~/.ssh/self-host-playbook"];
|
||||
"projects" = [
|
||||
{
|
||||
paths = ["/etc/nixos/current-systemconfig"];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
auto_update = false;
|
||||
format_on_save = "on";
|
||||
vim_mode = true;
|
||||
load_direnv = "shell_hook";
|
||||
theme = "Dracula";
|
||||
buffer_font_family = "FiraCode Nerd Font";
|
||||
ui_font_size = 16;
|
||||
buffer_font_size = 16;
|
||||
show_edit_predictions = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user