2025-01-14 16:17:42 -06:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
2025-01-18 03:50:54 -06:00
|
|
|
}:
|
|
|
|
let
|
2025-01-14 16:17:42 -06:00
|
|
|
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
|
|
|
|
;
|
|
|
|
};
|
2025-01-18 03:50:54 -06:00
|
|
|
|
|
|
|
experimentalPath = import (configPath + /theme) {
|
|
|
|
inherit
|
|
|
|
flake
|
|
|
|
;
|
|
|
|
};
|
2025-01-14 16:17:42 -06:00
|
|
|
gitPath = import (configPath + /git);
|
|
|
|
in
|
2025-01-18 03:50:54 -06:00
|
|
|
{
|
|
|
|
assistant = assistantPath;
|
|
|
|
git = gitPath;
|
|
|
|
languages = languagesPath;
|
|
|
|
lsp = lspPath;
|
|
|
|
terminal = terminalPath;
|
|
|
|
experimental.theme_overrides = experimentalPath;
|
|
|
|
|
|
|
|
node = {
|
|
|
|
path = lib.getExe pkgs.nodejs;
|
|
|
|
npm_path = lib.getExe' pkgs.nodejs "npm";
|
|
|
|
};
|
|
|
|
|
|
|
|
soft_wrap = "editor_width";
|
2025-01-14 16:17:42 -06:00
|
|
|
|
2025-01-18 03:50:54 -06:00
|
|
|
auto_update = false;
|
|
|
|
autosave = "on_focus_change";
|
|
|
|
load_direnv = "shell_hook";
|
|
|
|
base_keymap = "VSCode";
|
|
|
|
restore_on_startup = "last_session";
|
|
|
|
show_wrap_guides = true;
|
|
|
|
}
|
|
|
|
// interfacePath
|