mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: dank themes module
This commit is contained in:
parent
616ce7fbca
commit
87b2f7e687
62 changed files with 1589 additions and 201 deletions
15
home/modules/zed/config/extensions/default.nix
Executable file
15
home/modules/zed/config/extensions/default.nix
Executable file
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
"catppuccin"
|
||||
"catppuccin-blur"
|
||||
"material-dark"
|
||||
"rose-pine-theme"
|
||||
"material-theme"
|
||||
"just"
|
||||
"elm"
|
||||
"haskell"
|
||||
"nix"
|
||||
"typst"
|
||||
"nu"
|
||||
"toml"
|
||||
"xml"
|
||||
]
|
11
home/modules/zed/config/extraPackages/default.nix
Executable file
11
home/modules/zed/config/extraPackages/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{pkgs, ...}:
|
||||
builtins.attrValues {
|
||||
inherit
|
||||
(pkgs)
|
||||
nil
|
||||
nixfmt-rfc-style
|
||||
nixd
|
||||
wl-clipboard-rs
|
||||
xsel
|
||||
;
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
{}
|
0
home/modules/zed/config/extensions.nix → home/modules/zed/config/userKeymaps/default.nix
Normal file → Executable file
0
home/modules/zed/config/extensions.nix → home/modules/zed/config/userKeymaps/default.nix
Normal file → Executable file
|
@ -1 +0,0 @@
|
|||
{}
|
9
home/modules/zed/config/userSettings/config/assistant/default.nix
Executable file
9
home/modules/zed/config/userSettings/config/assistant/default.nix
Executable file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
enabled = true;
|
||||
version = "2";
|
||||
default_open_ai_model = null;
|
||||
default_model = {
|
||||
provider = "zed.dev";
|
||||
model = "claude-3-5-sonnet-latest";
|
||||
};
|
||||
}
|
7
home/modules/zed/config/userSettings/config/git/default.nix
Executable file
7
home/modules/zed/config/userSettings/config/git/default.nix
Executable file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
enabled = true;
|
||||
autoFetch = true;
|
||||
autoFetchInterval = 300;
|
||||
git_status = true;
|
||||
git_gutter = "tracked_files";
|
||||
}
|
38
home/modules/zed/config/userSettings/config/interface/default.nix
Executable file
38
home/modules/zed/config/userSettings/config/interface/default.nix
Executable file
|
@ -0,0 +1,38 @@
|
|||
{flake, ...}: let
|
||||
inherit
|
||||
(flake.config.aesthetics.themes)
|
||||
font
|
||||
;
|
||||
in {
|
||||
ui_font_family = font;
|
||||
buffer_font_family = font;
|
||||
hour_format = "hour12";
|
||||
vim_mode = false;
|
||||
show_whitespaces = "none";
|
||||
ui_font_size = 14;
|
||||
buffer_font_size = 14;
|
||||
tab_size = 2;
|
||||
cursor_blink = true;
|
||||
theme = "Rosé Pine";
|
||||
show_copilot_suggestions = true;
|
||||
bracket_pairing = "always";
|
||||
relative_line_numbers = true;
|
||||
tabs = {
|
||||
file_icons = true;
|
||||
git_status = true;
|
||||
};
|
||||
inlay_hints = {
|
||||
enabled = true;
|
||||
typeHints = true;
|
||||
parameterHints = true;
|
||||
chainingHints = true;
|
||||
};
|
||||
project_panel = {
|
||||
file_icons = true;
|
||||
folder_icons = true;
|
||||
indent_size = 15;
|
||||
};
|
||||
indent_guides = {
|
||||
enabled = true;
|
||||
};
|
||||
}
|
38
home/modules/zed/config/userSettings/config/languages/default.nix
Executable file
38
home/modules/zed/config/userSettings/config/languages/default.nix
Executable file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"Elixir" = {
|
||||
language_servers = [
|
||||
"!lexical"
|
||||
"elixir-ls"
|
||||
"!next-ls"
|
||||
];
|
||||
format_on_save = {
|
||||
external = {
|
||||
command = "mix";
|
||||
arguments = [
|
||||
"format"
|
||||
"--stdin-filename"
|
||||
"{buffer_path}"
|
||||
"-"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
"HEEX" = {
|
||||
language_servers = [
|
||||
"!lexical"
|
||||
"elixir-ls"
|
||||
"!next-ls"
|
||||
];
|
||||
format_on_save = {
|
||||
external = {
|
||||
command = "mix";
|
||||
arguments = [
|
||||
"format"
|
||||
"--stdin-filename"
|
||||
"{buffer_path}"
|
||||
"-"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
38
home/modules/zed/config/userSettings/config/lsp/default.nix
Executable file
38
home/modules/zed/config/userSettings/config/lsp/default.nix
Executable file
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
rust-analyzer = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
|
||||
elm = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
|
||||
haskell = {
|
||||
path_lookup = true;
|
||||
};
|
||||
|
||||
nix = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
|
||||
typst = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
|
||||
elixir-ls = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
settings = {
|
||||
dialyzerEnabled = true;
|
||||
};
|
||||
};
|
||||
}
|
38
home/modules/zed/config/userSettings/config/terminal/default.nix
Executable file
38
home/modules/zed/config/userSettings/config/terminal/default.nix
Executable file
|
@ -0,0 +1,38 @@
|
|||
{flake, ...}: let
|
||||
inherit
|
||||
(flake.config.aesthetics.themes)
|
||||
font
|
||||
;
|
||||
in {
|
||||
alternate_scroll = "off";
|
||||
blinking = "off";
|
||||
copy_on_select = true;
|
||||
dock = "bottom";
|
||||
detect_venv = {
|
||||
on = {
|
||||
directories = [
|
||||
".env"
|
||||
"env"
|
||||
".venv"
|
||||
"venv"
|
||||
];
|
||||
activate_script = "default";
|
||||
};
|
||||
};
|
||||
|
||||
env = {
|
||||
TERM = "ghostty";
|
||||
};
|
||||
|
||||
font_family = font;
|
||||
font_features = null;
|
||||
font_size = 12;
|
||||
line_height = "comfortable";
|
||||
option_as_meta = false;
|
||||
button = false;
|
||||
shell = "system";
|
||||
toolbar = {
|
||||
title = false;
|
||||
};
|
||||
working_directory = "current_project_directory";
|
||||
}
|
41
home/modules/zed/config/userSettings/default.nix
Executable file
41
home/modules/zed/config/userSettings/default.nix
Executable file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
flake,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
configPath = ./config;
|
||||
assistantPath = import (configPath + /assistant);
|
||||
|
||||
interfacePath = import (configPath + /interface) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
languagesPath = import (configPath + /languages);
|
||||
lspPath = import (configPath + /lsp);
|
||||
terminalPath = import (configPath + /terminal) {
|
||||
inherit
|
||||
flake
|
||||
;
|
||||
};
|
||||
gitPath = import (configPath + /git);
|
||||
in
|
||||
{
|
||||
assistant = assistantPath;
|
||||
git = gitPath;
|
||||
languages = languagesPath;
|
||||
lsp = lspPath;
|
||||
terminal = terminalPath;
|
||||
|
||||
node = {
|
||||
path = lib.getExe pkgs.nodejs;
|
||||
npm_path = lib.getExe' pkgs.nodejs "npm";
|
||||
};
|
||||
auto_update = false;
|
||||
autosave_after_delay = 20;
|
||||
load_direnv = "shell_hook";
|
||||
base_keymap = "VSCode";
|
||||
restore_on_startup = "last_session";
|
||||
}
|
||||
// interfacePath
|
Loading…
Add table
Add a link
Reference in a new issue