227 current 2025-01-11 06:17:08 25.05.20241217.d3c42f1 6.6.66 *
This commit is contained in:
@@ -131,6 +131,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
security.sudo = {
|
security.sudo = {
|
||||||
|
# me ne frego. i dare you to privilege escalate me
|
||||||
enable = true;
|
enable = true;
|
||||||
extraRules = [
|
extraRules = [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -24,6 +24,13 @@
|
|||||||
|
|
||||||
xclip
|
xclip
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
ripgrep
|
||||||
|
fd
|
||||||
|
lua-language-server
|
||||||
|
rust-analyzer-unwrapped
|
||||||
|
black
|
||||||
|
nodejs_22
|
||||||
|
# gh
|
||||||
];
|
];
|
||||||
|
|
||||||
plugins = with pkgs.vimPlugins; [
|
plugins = with pkgs.vimPlugins; [
|
||||||
@@ -60,6 +67,42 @@
|
|||||||
plugin = lualine-nvim;
|
plugin = lualine-nvim;
|
||||||
config = toLuaFile ./plugins/lualine.lua;
|
config = toLuaFile ./plugins/lualine.lua;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
plugin = nvim-treesitter.withPlugins (p: [
|
||||||
|
# p.tree-sitter-nix
|
||||||
|
# p.tree-sitter-vim
|
||||||
|
# p.tree-sitter-bash
|
||||||
|
# p.tree-sitter-lua
|
||||||
|
# p.tree-sitter-python
|
||||||
|
# p.tree-sitter-json
|
||||||
|
p.bash
|
||||||
|
p.comment
|
||||||
|
p.css
|
||||||
|
p.dockerfile
|
||||||
|
p.fish
|
||||||
|
p.gitattributes
|
||||||
|
p.gitignore
|
||||||
|
p.go
|
||||||
|
p.gomod
|
||||||
|
p.gowork
|
||||||
|
p.hcl
|
||||||
|
p.javascript
|
||||||
|
p.jq
|
||||||
|
p.json5
|
||||||
|
p.json
|
||||||
|
p.lua
|
||||||
|
p.make
|
||||||
|
p.markdown
|
||||||
|
p.nix
|
||||||
|
p.python
|
||||||
|
p.rust
|
||||||
|
p.toml
|
||||||
|
p.typescript
|
||||||
|
p.vue
|
||||||
|
p.yaml
|
||||||
|
]);
|
||||||
|
config = toLuaFile ./plugins/treesitter.lua;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# extraConfig = lib.fileContents ./init.vim;
|
# extraConfig = lib.fileContents ./init.vim;
|
||||||
|
|||||||
6
home/programs/nvim/plugins/treesitter.lua
Normal file
6
home/programs/nvim/plugins/treesitter.lua
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
require('nvim-treesitter.configs').setup {
|
||||||
|
ensure_installed = {},
|
||||||
|
auto_install = false,
|
||||||
|
highlight = { enable = true },
|
||||||
|
indent = { enable = true },
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user