25 Commits

Author SHA1 Message Date
kenji 4fd264f24f fix: update flake inputs to fix nodePackages deprecation 2026-05-17 19:01:43 -05:00
kenji ddb728dae4 add: bash setup 2025-12-27 18:36:21 -06:00
kenji c92c7fde64 removed auto_install 2025-12-24 13:30:58 -06:00
kenji cd9d985e9f removed ensure_installed for ts 2025-12-24 13:26:32 -06:00
kenji 358abc0fea fixed problem regarding treesitter and harpoon 2025-12-24 13:24:30 -06:00
kenji 71f2106966 added inputs for nixpkgs that nixvim follows 2025-12-24 13:24:14 -06:00
kenji 76c63eec0c updated nixpkgs and nixvim 2025-12-24 13:24:04 -06:00
kenji e3fe5d8a18 dashboard set for future 2025-12-24 13:23:48 -06:00
kenji 0a6805518a updated rust-overlay 2025-12-24 13:15:02 -06:00
kenji 0231245a5b removed ansiblels 2025-11-24 14:17:43 -06:00
lsoriano-mcm 24fdf605ce renamed var 2025-08-07 14:28:35 -05:00
lsoriano-mcm b04c92cec6 added baseNvim, and use it as default 2025-08-07 11:42:24 -05:00
lsoriano-mcm 13cd454fb3 added beautysh 2025-07-05 11:51:32 -05:00
lsoriano-mcm af883ec5eb ensures installation of TS 2025-07-05 11:25:58 -05:00
lsoriano-mcm 16fa8eb258 FLAKE.NIX UPDATE 2025-07-05 10:31:13 -05:00
lsoriano-mcm f7d90f69fa added bash 2025-07-05 09:23:42 -05:00
lsoriano-mcm 41f3594f31 added jetbrains 2025-07-03 21:07:39 -05:00
lsoriano-mcm 111dd85fd8 converted to nixovim 2025-07-03 20:57:44 -05:00
lsoriano-mcm 9358425177 added lazygit 2025-07-03 20:53:10 -05:00
biscuit be2e51f4dd nixvim: cooler dashboard 2025-06-04 15:14:24 -05:00
biscuit 3efdfef476 nixvim: added arrows alt 2025-06-04 14:52:49 -05:00
biscuit 7e425761c9 enabled bufferline 2025-06-03 17:43:57 -05:00
biscuit 847d1291ca upd 2025-06-03 12:52:03 -05:00
biscuit 83fc91530e test 2025-06-03 12:45:49 -05:00
biscuit 6904a510db changed dashboard 2025-06-03 11:49:37 -05:00
8 changed files with 307 additions and 456 deletions
+176 -167
View File
@@ -2,173 +2,182 @@
plugins = {
alpha = {
enable = true;
layout = [
{
type = "padding";
val = 2;
}
{
type = "text";
val = [
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
" "
];
opts = {
position = "center";
hl = "Type";
};
}
{
type = "padding";
val = 4;
}
{
type = "group";
val = [
{
type = "button";
val = " New File ";
on_press.__raw = "function() vim.cmd[[ene]] end";
opts = {
shortcut = "n";
keymap = [
"n"
"n"
"<cmd>ene<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 2;
}
{
type = "button";
val = " Find File ";
opts = {
shortcut = "f";
keymap = [
"n"
"f"
"<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 2;
}
{
type = "button";
val = " Recent Files ";
on_press.__raw = "function() require('telescope.builtin').oldfiles() end";
opts = {
shortcut = "r";
keymap = [
"n"
"r"
"<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 2;
}
{
type = "button";
val = " Find Text ";
on_press.__raw = "function() require('telescope.builtin').live_grep() end";
opts = {
shortcut = "g";
keymap = [
"n"
"g"
"<cmd>lua require('fzf-lua').live_grep()<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 2;
}
{
type = "button";
val = " Quit Neovim ";
on_press.__raw = "function() vim.cmd[[qa]] end";
opts = {
shortcut = "q";
keymap = [
"n"
"q"
"<cmd>qa<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
];
}
];
settings = {
layout = [
{
type = "padding";
val = 2;
}
{
type = "text";
val = [
" "
" "
" "
" "
" "
" "
];
opts = {
position = "center";
hl = "Type";
};
}
{
type = "text";
val = [" "];
}
{
type = "padding";
val = 1;
}
{
type = "text";
val = [
""
" ...better than most IDEs! "
""
];
opts = {
position = "center";
};
}
{
type = "padding";
val = 4;
}
{
type = "group";
val = [
{
type = "button";
val = " New File ";
on_press.__raw = "function() vim.cmd[[ene]] end";
opts = {
shortcut = "n";
keymap = [
"n"
"n"
"<cmd>ene<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 1;
}
{
type = "button";
val = " Find File ";
opts = {
shortcut = "f";
keymap = [
"n"
"f"
"<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 1;
}
{
type = "button";
val = " Recent Files ";
on_press.__raw = "function() require('telescope.builtin').oldfiles() end";
opts = {
shortcut = "r";
keymap = [
"n"
"r"
"<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 1;
}
{
type = "button";
val = " Find Text ";
on_press.__raw = "function() require('telescope.builtin').live_grep() end";
opts = {
shortcut = "g";
keymap = [
"n"
"g"
"<cmd>lua require('fzf-lua').live_grep()<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
{
type = "padding";
val = 1;
}
{
type = "button";
val = " Quit Neovim ";
on_press.__raw = "function() vim.cmd[[qa]] end";
opts = {
shortcut = "q";
keymap = [
"n"
"q"
"<cmd>qa<CR>"
{
noremap = true;
silent = true;
nowait = true;
}
];
position = "center";
width = 50;
align_shortcut = "right";
hl_shortcut = "Keyword";
};
}
];
}
];
};
};
};
}
+4 -1
View File
@@ -6,15 +6,18 @@
formatters_by_ft = {
terraform = ["tofu_fmt"];
tf = ["tofu_fmt"];
sh = ["shfmt"];
bash = ["shfmt"];
};
};
};
lsp.servers = {
ansiblels.enable = true;
ansiblels.enable = false; # they stopped updating it...
dockerls.enable = true;
helm_ls.enable = true;
nginx_language_server.enable = true;
terraformls.enable = true;
bashls.enable = true;
};
};
+26
View File
@@ -222,6 +222,32 @@
options.desc = "Accept AugmentCode suggestion";
}
## Arrow keys alt
{
mode = "i";
key = "<C-h>";
action = "<Left>";
options.desc = "";
}
{
mode = "i";
key = "<C-l>";
action = "<Right>";
options.desc = "";
}
{
mode = "i";
key = "<C-j>";
action = "<Down>";
options.desc = "";
}
{
mode = "i";
key = "<C-k>";
action = "<Up>";
options.desc = "";
}
# Normal mode
{
mode = "n";
-1
View File
@@ -30,7 +30,6 @@ in {
];
extraConfigLua = ''
require("telescope").load_extension('harpoon')
require("notify").setup({
background_colour = "#000000",
+23 -13
View File
@@ -3,7 +3,7 @@
auto-save.enable = true;
bufferline = {
# TODO: remove this once you are used to not having it
enable = false;
enable = true;
settings = {
options = {
always_show_bufferline = false;
@@ -33,15 +33,14 @@
watch_gitdir = {follow_files = true;};
};
};
harpoon = {
enable = true;
saveOnToggle = true;
saveOnChange = true;
enterOnSendcmd = false;
markBranch = true;
enable = false;
settings = {
save_on_toggle = true;
save_on_change = true;
enter_on_sendcmd = false;
};
};
hop.enable = true;
illuminate.enable = true;
image.enable = true;
@@ -143,14 +142,25 @@
};
render-markdown.enable = true;
todo-comments.enable = true;
treesitter = {
enable = true;
folding = false;
settings.indent.enable = true;
folding.enable = false; # Fixes the folding deprecation warning
settings = {
indent.enable = true;
auto_install = false; # Disable runtime installation
# ensure_installed = [
# "git_config"
# "git_rebase"
# "gitattributes"
# "gitcommit"
# "gitignore"
# "bash"
# "python"
# "lua"
# "nix"
# ];
};
};
vim-surround.enable = true;
web-devicons.enable = true;
};
Generated
+22 -257
View File
@@ -1,40 +1,5 @@
{
"nodes": {
"devshell": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1735644329,
"narHash": "sha256-tO3HrHriyLvipc4xr+Ewtdlo7wM1OjXNjlWRgmM7peY=",
"owner": "numtide",
"repo": "devshell",
"rev": "f7795ede5b02664b57035b3b757876703e2c3eac",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "devshell",
"type": "github"
}
},
"flake-compat": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
@@ -61,11 +26,11 @@
]
},
"locked": {
"lastModified": 1738453229,
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
"lastModified": 1778716662,
"narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
"rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github"
},
"original": {
@@ -74,149 +39,13 @@
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"git-hooks": {
"inputs": {
"flake-compat": [
"nixvim",
"flake-compat"
],
"gitignore": "gitignore",
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1737465171,
"narHash": "sha256-R10v2hoJRLq8jcL4syVFag7nIGE7m13qO48wRIukWNg=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "9364dc02281ce2d37a1f55b6e51f7c0f65a75f17",
"type": "github"
},
"original": {
"owner": "cachix",
"repo": "git-hooks.nix",
"type": "github"
}
},
"gitignore": {
"inputs": {
"nixpkgs": [
"nixvim",
"git-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1709087332,
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1738878603,
"narHash": "sha256-fmhq8B3MvQLawLbMO+LWLcdC2ftLMmwSk+P29icJ3tE=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "433799271274c9f2ab520a49527ebfe2992dcfbd",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"ixx": {
"inputs": {
"flake-utils": [
"nixvim",
"nuschtosSearch",
"flake-utils"
],
"nixpkgs": [
"nixvim",
"nuschtosSearch",
"nixpkgs"
]
},
"locked": {
"lastModified": 1729958008,
"narHash": "sha256-EiOq8jF4Z/zQe0QYVc3+qSKxRK//CFHMB84aYrYGwEs=",
"owner": "NuschtOS",
"repo": "ixx",
"rev": "9fd01aad037f345350eab2cd45e1946cc66da4eb",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"ref": "v0.0.6",
"repo": "ixx",
"type": "github"
}
},
"nix-darwin": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1738743987,
"narHash": "sha256-O3bnAfsObto6l2tQOmQlrO6Z2kD6yKwOWfs7pA0CpOc=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "ae406c04577ff9a64087018c79b4fdc02468c87c",
"type": "github"
},
"original": {
"owner": "lnl7",
"repo": "nix-darwin",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1739214665,
"narHash": "sha256-26L8VAu3/1YRxS8MHgBOyOM8xALdo6N0I04PgorE7UM=",
"lastModified": 1778869304,
"narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "64e75cd44acf21c7933d61d7721e812eac1b5a0a",
"rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
"type": "github"
},
"original": {
@@ -240,27 +69,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1738797219,
"narHash": "sha256-KRwX9Z1XavpgeSDVM/THdFd6uH8rNm/6R+7kIbGa+2s=",
"lastModified": 1744536153,
"narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1da52dd49a127ad74486b135898da2cef8c62665",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1736320768,
"narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",
"rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11",
"type": "github"
},
"original": {
@@ -272,50 +85,23 @@
},
"nixvim": {
"inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts_2",
"git-hooks": "git-hooks",
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixpkgs": "nixpkgs_2",
"nuschtosSearch": "nuschtosSearch",
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1739353096,
"narHash": "sha256-w/T2uYCoq4k6K46GX2CMGWsKfMvcqnxC41LIgnvGifE=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "78b6f8e1e5b37a7789216e17a96ebc117660f0e7",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixvim",
"type": "github"
}
},
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils",
"ixx": "ixx",
"nixpkgs": [
"nixvim",
"nixpkgs"
]
],
"systems": "systems"
},
"locked": {
"lastModified": 1738508923,
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
"owner": "NuschtOS",
"repo": "search",
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
"lastModified": 1779023681,
"narHash": "sha256-K7RLGyiK3J6wHr/JDxXdlGF0+0DEsdBf1w9mXjSyL8I=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "0d05726bfb060f6559f6d64c1d427f3663dba178",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"repo": "search",
"owner": "nix-community",
"repo": "nixvim",
"type": "github"
}
},
@@ -329,14 +115,14 @@
},
"rust-overlay": {
"inputs": {
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1739327257,
"narHash": "sha256-rlGK8wxz/e50Z+PQRzuP+m03IrGkhcPGmgkBnkEZ9C8=",
"lastModified": 1766544144,
"narHash": "sha256-5ppfEyZqX6FMluZHty7Dvw4xN10vLq1yQosp7dGG/28=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "e01f2c035b7b8a428c119b183f4cbc55f2eef07c",
"rev": "5359a4fdc3fa9baa2edcf49758d404dfeeca7743",
"type": "github"
},
"original": {
@@ -359,27 +145,6 @@
"repo": "default",
"type": "github"
}
},
"treefmt-nix": {
"inputs": {
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1738680491,
"narHash": "sha256-8X7tR3kFGkE7WEF5EXVkt4apgaN85oHZdoTGutCFs6I=",
"owner": "numtide",
"repo": "treefmt-nix",
"rev": "64dbb922d51a42c0ced6a7668ca008dded61c483",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "treefmt-nix",
"type": "github"
}
}
},
"root": "root",
+49 -17
View File
@@ -2,7 +2,10 @@
description = "A nixvim configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixvim.url = "github:nix-community/nixvim";
nixvim = {
url = "github:nix-community/nixvim";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
rust-overlay.url = "github:oxalica/rust-overlay";
};
@@ -19,17 +22,55 @@
"x86_64-darwin"
"aarch64-darwin"
];
perSystem = {system, ...}: let
perSystem = {
self,
system,
...
}: let
specialArgs = {
inherit inputs self;
};
overlays = [(import rust-overlay)];
nixvimLib = nixvim.lib.${system};
nixvim' = nixvim.legacyPackages.${system};
pkgs = import inputs.nixpkgs {
inherit system overlays;
config.allowUnfree = true;
};
deps = with pkgs; [
sops
lazygit
nerd-fonts.jetbrains-mono
rust-bin.stable.latest.default # From rust-overlay
ansible-lint
beautysh
shellcheck
shfmt
];
fullNixvimModule = {
inherit pkgs;
module = {pkgs, ...}: {
imports = [
./config
./config/rust
./config/csharp
./config/golang
./config/python
./config/javascript
./config/iac
];
extraPackages = deps;
};
extraSpecialArgs = specialArgs; # Keep specialArgs for self-reference
};
baseNixvimModule = {
inherit pkgs;
module = {pkgs, ...}: {
imports = [./config];
extraPackages = with pkgs; [sops];
extraPackages = deps;
};
extraSpecialArgs = {};
extraSpecialArgs = specialArgs;
};
rustNixvimModule = {
inherit pkgs;
@@ -100,10 +141,8 @@
};
extraSpecialArgs = {};
};
pkgs = import inputs.nixpkgs {
inherit system overlays;
config.allowUnfree = true;
};
fullNvim = nixvim'.makeNixvimWithModule fullNixvimModule;
baseNvim = nixvim'.makeNixvimWithModule baseNixvimModule;
rustNvim = nixvim'.makeNixvimWithModule rustNixvimModule;
csharpNvim = nixvim'.makeNixvimWithModule csharpNixvimModule;
@@ -113,23 +152,16 @@
iacNvim = nixvim'.makeNixvimWithModule iacNixvimModule;
in {
checks = {
# Run `nix flake check .` to verify that your config is not broken
default = nixvimLib.check.mkTestDerivationFromNixvimModule baseNixvimModule;
};
packages = {
# Lets you run `nix run .` to start nixvim
default = baseNvim;
# Lets you run `nix run .#rust` to start nixvim with Rust configuration
full = fullNvim;
rust = rustNvim;
# Lets you run `nix run .#csharp` to start nixvim with C# configuration
csharp = csharpNvim;
# Lets you run `nix run .#golang` to start nixvim with Go configuration
golang = goNvim;
# Lets you run `nix run .#python` to start nixvim with Python configuration
python = pythonNvim;
# Lets you run `nix run .#javascript` to start nixvim with JS/TS configuration
javascript = javascriptNvim;
# Lets you run `nix run .#javascript` to start nixvim with IaC configuration
javascript = javascriptNvim; # This should be javascriptNvim not javascriptNixvimModule
iac = iacNvim;
};
};
+7
View File
@@ -0,0 +1,7 @@
#!/bin/bash
function hello() {
echo "Hello World
}
hello