mirror of
https://github.com/davegallant/nix-config
synced 2025-08-06 11:23:40 +00:00
Add vscode and fix nvim config
This commit is contained in:
@@ -392,20 +392,16 @@ in {
|
||||
vim-surround
|
||||
];
|
||||
};
|
||||
|
||||
vscode = {
|
||||
enable = true;
|
||||
extensions = with pkgs.vscode-extensions;
|
||||
[] ++ lib.optionals stdenv.isLinux [ms-vsliveshare.vsliveshare];
|
||||
};
|
||||
};
|
||||
|
||||
home.file.".config/nvim/lua".source = ./nvim/lua;
|
||||
home.file.".config/srv".source = ./srv;
|
||||
|
||||
home.file."..aws/config".source = ./.aws/config;
|
||||
|
||||
# https://github.com/foucault/nvfancontrol#use-and-configure
|
||||
home.file.".config/nvfancontrol.conf".text = ''
|
||||
25 45
|
||||
45 50
|
||||
50 60
|
||||
60 75
|
||||
70 80
|
||||
80 90
|
||||
'';
|
||||
}
|
||||
|
@@ -167,7 +167,7 @@ cmp.setup {
|
||||
|
||||
local lspconfig = require "lspconfig"
|
||||
|
||||
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
local capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities())
|
||||
|
||||
lspconfig.ansiblels.setup({
|
||||
capabilities = capabilities,
|
||||
|
@@ -27,9 +27,6 @@ in {
|
||||
|
||||
# productivity
|
||||
bat
|
||||
/*
|
||||
checkov
|
||||
*/
|
||||
drone-cli
|
||||
exa
|
||||
fd
|
||||
|
Reference in New Issue
Block a user