Compare commits

...

8 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
7 changed files with 219 additions and 442 deletions
+176 -174
View File
@@ -2,180 +2,182 @@
plugins = { plugins = {
alpha = { alpha = {
enable = true; enable = true;
layout = [ settings = {
{ layout = [
type = "padding"; {
val = 2; type = "padding";
} val = 2;
{ }
type = "text"; {
val = [ type = "text";
" " val = [
" " " "
" " " "
" " " "
" " " "
" " " "
]; " "
opts = { ];
position = "center"; opts = {
hl = "Type"; position = "center";
}; hl = "Type";
} };
{ }
type = "text"; {
val = [" "]; type = "text";
} val = [" "];
{ }
type = "padding"; {
val = 1; type = "padding";
} val = 1;
{ }
type = "text"; {
val = [ type = "text";
"" val = [
" ...better than most IDEs! " ""
"" " ...better than most IDEs! "
]; ""
opts = { ];
position = "center"; opts = {
}; position = "center";
} };
{ }
type = "padding"; {
val = 4; type = "padding";
} val = 4;
{ }
type = "group"; {
val = [ type = "group";
{ val = [
type = "button"; {
val = " New File "; type = "button";
on_press.__raw = "function() vim.cmd[[ene]] end"; val = " New File ";
opts = { on_press.__raw = "function() vim.cmd[[ene]] end";
shortcut = "n"; opts = {
keymap = [ shortcut = "n";
"n" keymap = [
"n" "n"
"<cmd>ene<CR>" "n"
{ "<cmd>ene<CR>"
noremap = true; {
silent = true; noremap = true;
nowait = true; silent = true;
} nowait = true;
]; }
position = "center"; ];
width = 50; position = "center";
align_shortcut = "right"; width = 50;
hl_shortcut = "Keyword"; align_shortcut = "right";
}; hl_shortcut = "Keyword";
} };
{ }
type = "padding"; {
val = 1; type = "padding";
} val = 1;
{ }
type = "button"; {
val = " Find File "; type = "button";
opts = { val = " Find File ";
shortcut = "f"; opts = {
keymap = [ shortcut = "f";
"n" keymap = [
"f" "n"
"<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>" "f"
{ "<cmd>lua require('fzf-lua').files({ cwd = vim.loop.cwd() })<CR>"
noremap = true; {
silent = true; noremap = true;
nowait = true; silent = true;
} nowait = true;
]; }
position = "center"; ];
width = 50; position = "center";
align_shortcut = "right"; width = 50;
hl_shortcut = "Keyword"; align_shortcut = "right";
}; hl_shortcut = "Keyword";
} };
{ }
type = "padding"; {
val = 1; type = "padding";
} val = 1;
{ }
type = "button"; {
val = " Recent Files "; type = "button";
on_press.__raw = "function() require('telescope.builtin').oldfiles() end"; val = " Recent Files ";
opts = { on_press.__raw = "function() require('telescope.builtin').oldfiles() end";
shortcut = "r"; opts = {
keymap = [ shortcut = "r";
"n" keymap = [
"r" "n"
"<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>" "r"
{ "<cmd>lua require('fzf-lua').oldfiles({ cwd = vim.loop.cwd() })<CR>"
noremap = true; {
silent = true; noremap = true;
nowait = true; silent = true;
} nowait = true;
]; }
position = "center"; ];
width = 50; position = "center";
align_shortcut = "right"; width = 50;
hl_shortcut = "Keyword"; align_shortcut = "right";
}; hl_shortcut = "Keyword";
} };
{ }
type = "padding"; {
val = 1; type = "padding";
} val = 1;
{ }
type = "button"; {
val = " Find Text "; type = "button";
on_press.__raw = "function() require('telescope.builtin').live_grep() end"; val = " Find Text ";
opts = { on_press.__raw = "function() require('telescope.builtin').live_grep() end";
shortcut = "g"; opts = {
keymap = [ shortcut = "g";
"n" keymap = [
"g" "n"
"<cmd>lua require('fzf-lua').live_grep()<CR>" "g"
{ "<cmd>lua require('fzf-lua').live_grep()<CR>"
noremap = true; {
silent = true; noremap = true;
nowait = true; silent = true;
} nowait = true;
]; }
position = "center"; ];
width = 50; position = "center";
align_shortcut = "right"; width = 50;
hl_shortcut = "Keyword"; align_shortcut = "right";
}; hl_shortcut = "Keyword";
} };
{ }
type = "padding"; {
val = 1; type = "padding";
} val = 1;
{ }
type = "button"; {
val = " Quit Neovim "; type = "button";
on_press.__raw = "function() vim.cmd[[qa]] end"; val = " Quit Neovim ";
opts = { on_press.__raw = "function() vim.cmd[[qa]] end";
shortcut = "q"; opts = {
keymap = [ shortcut = "q";
"n" keymap = [
"q" "n"
"<cmd>qa<CR>" "q"
{ "<cmd>qa<CR>"
noremap = true; {
silent = true; noremap = true;
nowait = true; silent = true;
} nowait = true;
]; }
position = "center"; ];
width = 50; position = "center";
align_shortcut = "right"; width = 50;
hl_shortcut = "Keyword"; align_shortcut = "right";
}; hl_shortcut = "Keyword";
} };
]; }
} ];
]; }
];
};
}; };
}; };
} }
+2 -1
View File
@@ -6,7 +6,8 @@
formatters_by_ft = { formatters_by_ft = {
terraform = ["tofu_fmt"]; terraform = ["tofu_fmt"];
tf = ["tofu_fmt"]; tf = ["tofu_fmt"];
sh = ["beautysh"]; sh = ["shfmt"];
bash = ["shfmt"];
}; };
}; };
}; };
-1
View File
@@ -30,7 +30,6 @@ in {
]; ];
extraConfigLua = '' extraConfigLua = ''
require("telescope").load_extension('harpoon')
require("notify").setup({ require("notify").setup({
background_colour = "#000000", background_colour = "#000000",
+20 -21
View File
@@ -33,15 +33,14 @@
watch_gitdir = {follow_files = true;}; watch_gitdir = {follow_files = true;};
}; };
}; };
harpoon = { harpoon = {
enable = true; enable = false;
saveOnToggle = true; settings = {
saveOnChange = true; save_on_toggle = true;
enterOnSendcmd = false; save_on_change = true;
markBranch = true; enter_on_sendcmd = false;
};
}; };
hop.enable = true; hop.enable = true;
illuminate.enable = true; illuminate.enable = true;
image.enable = true; image.enable = true;
@@ -143,25 +142,25 @@
}; };
render-markdown.enable = true; render-markdown.enable = true;
todo-comments.enable = true; todo-comments.enable = true;
treesitter = { treesitter = {
enable = true; enable = true;
folding = false; folding.enable = false; # Fixes the folding deprecation warning
settings.indent.enable = true;
settings = { settings = {
auto_install = true; indent.enable = true;
ensure_installed = [ auto_install = false; # Disable runtime installation
"git_config" # ensure_installed = [
"git_rebase" # "git_config"
"gitattributes" # "git_rebase"
"gitcommit" # "gitattributes"
"gitignore" # "gitcommit"
"bash" # "gitignore"
"python" # "bash"
]; # "python"
# "lua"
# "nix"
# ];
}; };
}; };
vim-surround.enable = true; vim-surround.enable = true;
web-devicons.enable = true; web-devicons.enable = true;
}; };
Generated
+10 -231
View File
@@ -1,40 +1,5 @@
{ {
"nodes": { "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": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@@ -61,11 +26,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738453229, "lastModified": 1778716662,
"narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=", "narHash": "sha256-m1Yf0wZ8j1OHjTc2UwHwyQRSnNeSgLJOd7q5Y45hzi4=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd", "rev": "f7c1a2d347e4c52d5fb8d10cb4d94b5884e546fb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -74,149 +39,13 @@
"type": "github" "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": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1739214665, "lastModified": 1778869304,
"narHash": "sha256-26L8VAu3/1YRxS8MHgBOyOM8xALdo6N0I04PgorE7UM=", "narHash": "sha256-30sZNZoA1cqF5JNO9fVX+wgiQYjB7HJqqJ4ztCDeBZE=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "64e75cd44acf21c7933d61d7721e812eac1b5a0a", "rev": "d233902339c02a9c334e7e593de68855ad26c4cb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -256,24 +85,18 @@
}, },
"nixvim": { "nixvim": {
"inputs": { "inputs": {
"devshell": "devshell",
"flake-compat": "flake-compat",
"flake-parts": "flake-parts_2", "flake-parts": "flake-parts_2",
"git-hooks": "git-hooks",
"home-manager": "home-manager",
"nix-darwin": "nix-darwin",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],
"nuschtosSearch": "nuschtosSearch", "systems": "systems"
"treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1739353096, "lastModified": 1779023681,
"narHash": "sha256-w/T2uYCoq4k6K46GX2CMGWsKfMvcqnxC41LIgnvGifE=", "narHash": "sha256-K7RLGyiK3J6wHr/JDxXdlGF0+0DEsdBf1w9mXjSyL8I=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "78b6f8e1e5b37a7789216e17a96ebc117660f0e7", "rev": "0d05726bfb060f6559f6d64c1d427f3663dba178",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -282,29 +105,6 @@
"type": "github" "type": "github"
} }
}, },
"nuschtosSearch": {
"inputs": {
"flake-utils": "flake-utils",
"ixx": "ixx",
"nixpkgs": [
"nixvim",
"nixpkgs"
]
},
"locked": {
"lastModified": 1738508923,
"narHash": "sha256-4DaDrQDAIxlWhTjH6h/+xfG05jt3qDZrZE/7zDLQaS4=",
"owner": "NuschtOS",
"repo": "search",
"rev": "86e2038290859006e05ca7201425ea5b5de4aecb",
"type": "github"
},
"original": {
"owner": "NuschtOS",
"repo": "search",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
@@ -345,27 +145,6 @@
"repo": "default", "repo": "default",
"type": "github" "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", "root": "root",
+6 -1
View File
@@ -2,7 +2,10 @@
description = "A nixvim configuration"; description = "A nixvim configuration";
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 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"; flake-parts.url = "github:hercules-ci/flake-parts";
rust-overlay.url = "github:oxalica/rust-overlay"; rust-overlay.url = "github:oxalica/rust-overlay";
}; };
@@ -41,6 +44,8 @@
rust-bin.stable.latest.default # From rust-overlay rust-bin.stable.latest.default # From rust-overlay
ansible-lint ansible-lint
beautysh beautysh
shellcheck
shfmt
]; ];
fullNixvimModule = { fullNixvimModule = {
+5 -13
View File
@@ -1,15 +1,7 @@
#!/usr/bin/env bash #!/bin/bash
asdfa function hello() {
echo "Hello World
}
a
a
a
a
a
a
aa
aaaa
hello