dotfiles/home/modules/zed/config/userSettings/default.nix
2025-01-14 16:17:42 -06:00

41 lines
849 B
Nix
Executable file

{
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