Compare commits

...

2 Commits

2 changed files with 54 additions and 36 deletions

View File

@ -1,45 +1,18 @@
{ config, lib, pkgs, user, theme, ... }:
{ pkgs, theme, ... }:
let
pkg_src = pkgs.unstable;
in
{
home.packages = with pkgs.unstable; [
xclip
# language servers
lua-language-server
terraform-ls
tflint
nodejs
nodePackages.bash-language-server
nodePackages.yaml-language-server
nodePackages.prettier
nodePackages.eslint_d
nodePackages.typescript-language-server
nodePackages.typescript
nodePackages.dockerfile-language-server-nodejs
nodePackages.vscode-langservers-extracted
nodePackages.volar
lldb
vscode-extensions.vadimcn.vscode-lldb
marksman
clang-tools
cmake-language-server
texlab
nixd
nixpkgs-fmt
];
# symlink for a stable path
home.file.".vscode-extensions/vscode-lldb".source = pkgs.unstable.vscode-extensions.vadimcn.vscode-lldb;
home.sessionVariables = {
EDITOR = "nvim";
};
home.file.".vscode-extensions/vscode-lldb".source = pkg_src.vscode-extensions.vadimcn.vscode-lldb;
programs = {
neovim = {
enable = true;
package = pkgs.unstable.neovim-unwrapped;
plugins = with pkgs.unstable.vimPlugins; [
package = pkg_src.neovim-unwrapped;
defaultEditor = true;
plugins = with pkg_src.vimPlugins; [
# theme
nvim-solarized-lua
@ -111,6 +84,41 @@
# debugging
nvim-dap
nvim-dap-ui
# neorg
neorg
neorg-telescope
];
withNodeJs = true;
extraPackages = with pkg_src; [
# language servers
lua-language-server
terraform-ls
tflint
nodePackages.bash-language-server
nodePackages.yaml-language-server
nodePackages.prettier
nodePackages.eslint_d
nodePackages.typescript-language-server
nodePackages.typescript
nodePackages.dockerfile-language-server-nodejs
nodePackages.vscode-langservers-extracted
nodePackages.volar
lldb
vscode-extensions.vadimcn.vscode-lldb
marksman
clang-tools
cmake-language-server
texlab
nixd
nixpkgs-fmt
];
extraLuaPackages = luaPackages: [
luaPackages.lua-utils-nvim
luaPackages.pathlib-nvim
];
extraConfig = ''
@ -145,6 +153,7 @@
${builtins.readFile ./project-nvim.lua }
${builtins.readFile ./dap.lua }
${builtins.readFile ./neorg.lua }
vim.g.gitblame_date_format = "%r"

View File

@ -2,6 +2,15 @@ local neorg = require("neorg")
neorg.setup({
load = {
["core.defaults"] = {}
["core.defaults"] = {},
["core.concealer"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/notes",
},
default_workspace = "notes",
},
},
}
})