some refactoring
This commit is contained in:
@ -12,6 +12,7 @@
|
|||||||
torch
|
torch
|
||||||
srt
|
srt
|
||||||
]))
|
]))
|
||||||
|
pyrefly
|
||||||
nixd
|
nixd
|
||||||
alejandra
|
alejandra
|
||||||
tailwindcss
|
tailwindcss
|
||||||
|
@ -19,97 +19,107 @@ in {
|
|||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userSettings = {
|
userSettings = {
|
||||||
features = {
|
features = {
|
||||||
inline_prediction_provider = "zed";
|
inline_prediction_provider = "zed";
|
||||||
edit_prediction_provider = "zed";
|
edit_prediction_provider = "zed";
|
||||||
copilot = false;
|
copilot = false;
|
||||||
};
|
};
|
||||||
telemetry = {
|
telemetry = {
|
||||||
metrics = false;
|
metrics = false;
|
||||||
};
|
};
|
||||||
lsp = {
|
lsp = {
|
||||||
rust_analyzer = {
|
rust_analyzer = {
|
||||||
binary = {path_lookup = true;};
|
binary = {path_lookup = true;};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
languages = {
|
languages = {
|
||||||
Nix = {
|
Nix = {
|
||||||
language_servers = ["nixd"];
|
language_servers = ["nixd"];
|
||||||
formatter = {
|
formatter = {
|
||||||
external = {
|
external = {
|
||||||
command = "alejandra";
|
command = "alejandra";
|
||||||
arguments = ["-q" "-"];
|
arguments = ["-q" "-"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
Python = {
|
Python = {
|
||||||
language_servers = ["pyright"];
|
language_servers = ["pyrefly"];
|
||||||
formatter = {
|
formatter = {
|
||||||
external = {
|
external = {
|
||||||
command = "black";
|
command = "black";
|
||||||
arguments = ["-"];
|
arguments = ["-"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
context_servers = {
|
lsp = {
|
||||||
"some-context-server" = {
|
"pyrefly" = {
|
||||||
command = {
|
command = {
|
||||||
path = "some-command";
|
path = "pyrefly";
|
||||||
args = ["arg-1" "arg-2"];
|
args = ["--lsp"];
|
||||||
env = {};
|
env = {};
|
||||||
};
|
};
|
||||||
settings = {};
|
settings = {};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
assistant = {
|
context_servers = {
|
||||||
version = "2";
|
"some-context-server" = {
|
||||||
default_model = {
|
command = {
|
||||||
provider = "anthropic";
|
path = "some-command";
|
||||||
model = "Claude 3.7 Sonnet";
|
args = ["arg-1" "arg-2"];
|
||||||
};
|
env = {};
|
||||||
};
|
};
|
||||||
language_models = {
|
settings = {};
|
||||||
anthropic = {
|
};
|
||||||
version = "1";
|
};
|
||||||
api_url = "https://api.anthropic.com";
|
assistant = {
|
||||||
};
|
version = "2";
|
||||||
openai = {
|
default_model = {
|
||||||
version = "1";
|
provider = "anthropic";
|
||||||
api_url = "https://api.openai.com/v1";
|
model = "Claude 3.7 Sonnet";
|
||||||
};
|
};
|
||||||
ollama = {
|
};
|
||||||
api_url = "http://localhost:11434";
|
language_models = {
|
||||||
};
|
anthropic = {
|
||||||
};
|
version = "1";
|
||||||
ssh_connections = [
|
api_url = "https://api.anthropic.com";
|
||||||
{
|
};
|
||||||
host = "152.53.85.162";
|
openai = {
|
||||||
nickname = "m3-atlas";
|
version = "1";
|
||||||
args = ["-i" "~/.ssh/m3tam3re"];
|
api_url = "https://api.openai.com/v1";
|
||||||
}
|
};
|
||||||
{
|
ollama = {
|
||||||
host = "95.217.189.186";
|
api_url = "http://localhost:11434";
|
||||||
port = 2222;
|
};
|
||||||
nickname = "self-host-playbook";
|
};
|
||||||
args = ["-i" "~/.ssh/self-host-playbook"];
|
ssh_connections = [
|
||||||
"projects" = [
|
{
|
||||||
{
|
host = "152.53.85.162";
|
||||||
paths = ["/etc/nixos/current-systemconfig"];
|
nickname = "m3-atlas";
|
||||||
}
|
args = ["-i" "~/.ssh/m3tam3re"];
|
||||||
];
|
}
|
||||||
}
|
{
|
||||||
];
|
host = "95.217.189.186";
|
||||||
auto_update = false;
|
port = 2222;
|
||||||
format_on_save = "on";
|
nickname = "self-host-playbook";
|
||||||
vim_mode = true;
|
args = ["-i" "~/.ssh/self-host-playbook"];
|
||||||
load_direnv = "shell_hook";
|
"projects" = [
|
||||||
theme = "Dracula";
|
{
|
||||||
buffer_font_family = "FiraCode Nerd Font";
|
paths = ["/etc/nixos/current-systemconfig"];
|
||||||
ui_font_size = 16;
|
}
|
||||||
buffer_font_size = 16;
|
];
|
||||||
show_edit_predictions = true;
|
}
|
||||||
};
|
];
|
||||||
|
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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
@ -9,8 +9,7 @@
|
|||||||
./office.nix
|
./office.nix
|
||||||
./rofi.nix
|
./rofi.nix
|
||||||
./theme.nix
|
./theme.nix
|
||||||
./wayland.nix
|
./waybar.nix
|
||||||
./wofi.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
@ -72,8 +71,9 @@
|
|||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
appimage-run
|
appimage-run
|
||||||
# anytype
|
anytype
|
||||||
# blueberry
|
# blueberry
|
||||||
|
bemoji
|
||||||
brave
|
brave
|
||||||
# brightnessctl
|
# brightnessctl
|
||||||
# clipman
|
# clipman
|
||||||
@ -81,7 +81,6 @@
|
|||||||
# eww
|
# eww
|
||||||
# firefox-devedition
|
# firefox-devedition
|
||||||
file-roller
|
file-roller
|
||||||
google-chrome
|
|
||||||
hyprpanel
|
hyprpanel
|
||||||
seahorse
|
seahorse
|
||||||
sushi
|
sushi
|
||||||
|
@ -15,7 +15,7 @@ in {
|
|||||||
gamescope
|
gamescope
|
||||||
goverlay
|
goverlay
|
||||||
mangohud
|
mangohud
|
||||||
protonup-ng
|
protonplus
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
{pkgs, ...}: {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
wofi
|
|
||||||
bemoji
|
|
||||||
];
|
|
||||||
}
|
|
Reference in New Issue
Block a user