6 Commits

Author SHA1 Message Date
0572f1394f feat: update nvim flake
All checks were successful
check-flake / build (push) Successful in 2m53s
2024-06-22 17:33:30 +03:00
b2620d58af chore(deps): update cachix/install-nix-action action to v27
All checks were successful
check-flake / build (push) Successful in 3m13s
2024-06-15 23:47:05 +03:00
97b13465a8 chore(deps): update nixpkgs to nixos-24.05
Some checks failed
check-flake / build (pull_request) Successful in 5m53s
check-flake / build (push) Has been cancelled
2024-06-13 21:09:23 +00:00
53e48ea9e8 feat: review nvim plugins
All checks were successful
check-flake / build (push) Successful in 2m47s
2024-06-03 15:12:30 +03:00
209f4d3ddd feat(telescope): follow symlinks
All checks were successful
check-flake / build (push) Successful in 3m39s
2024-05-27 12:03:40 +03:00
73b5a72f6f feat: update how symlinks are created
All checks were successful
check-flake / build (push) Successful in 3m8s
2024-05-11 21:32:23 +03:00
10 changed files with 47 additions and 15 deletions

View File

@@ -16,7 +16,7 @@ jobs:
- name: Setup sudo (required for the next step)
run: apt-get update && apt-get install -y sudo
- name: Setup nix
uses: cachix/install-nix-action@v26
uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
nix_path: nixpkgs=channel:nixos-23.11

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazygit-config.yml
/tmp/lazyvim-lazygit/config.yml

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazygit-state.yml
/tmp/lazyvim-lazygit/state.yml

View File

@@ -1 +1,8 @@
-- Configure symlinks needed by LazyVim
vim.fn.system({ "mkdir", "-p", os.getenv("HOME") .. "/.config/lazyvim/nvim" })
vim.fn.system({ "mkdir", "-p", os.getenv("HOME") .. "/.config/lazyvim/lazygit" })
vim.fn.system({ "ln", "-sfT", os.getenv("HOME") .. "/.config/lazyvim/nvim", "/tmp/lazyvim-nvim" })
vim.fn.system({ "ln", "-sfT", os.getenv("HOME") .. "/.config/lazyvim/lazygit", "/tmp/lazyvim-lazygit" })
-- Load lazyvim
require("config.lazy")

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazy-lock.json
/tmp/lazyvim-nvim/lazy-lock.json

View File

@@ -1 +1 @@
/usr/local/etc/xaked-nvim-lazyvim.json
/tmp/lazyvim-nvim/lazyvim.json

View File

@@ -11,8 +11,9 @@ require("lazy").setup({
spec = {
-- add LazyVim and import its plugins
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "lazyvim.plugins.extras.coding.codeium" },
{ import = "lazyvim.plugins.extras.editor.harpoon2" },
-- { import = "lazyvim.plugins.extras.coding.codeium" },
-- { import = "lazyvim.plugins.extras.editor.harpoon2" },
{ import = "lazyvim.plugins.extras.editor.outline" },
{ import = "lazyvim.plugins.extras.formatting.prettier" },
{ import = "lazyvim.plugins.extras.lang.ansible" },
{ import = "lazyvim.plugins.extras.lang.docker" },
@@ -25,8 +26,10 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.lang.rust" },
{ import = "lazyvim.plugins.extras.lang.scala" },
{ import = "lazyvim.plugins.extras.lang.terraform" },
{ import = "lazyvim.plugins.extras.lang.toml" },
{ import = "lazyvim.plugins.extras.lang.yaml" },
{ import = "lazyvim.plugins.extras.ui.mini-animate" },
{ import = "lazyvim.plugins.extras.ui.treesitter-context" },
{ import = "plugins.tokyonight" },
{ import = "plugins.telescope" },
{ import = "plugins.lang.nix" },

View File

@@ -1,5 +1,5 @@
return {
"telescope.nvim",
"nvim-telescope/telescope.nvim",
dependencies = {
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
@@ -7,4 +7,25 @@ return {
require("telescope").load_extension("fzf")
end,
},
opts = {
defaults = {
file_ignore_patterns = {
".git/",
"^node_modules/",
".cache",
},
},
pickers = {
live_grep = {
additional_args = { "-L" },
},
grep_string = {
additional_args = { "-L" },
},
find_files = {
hidden = true,
follow = true,
},
},
},
}

8
flake.lock generated
View File

@@ -59,16 +59,16 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1715218190,
"narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=",
"lastModified": 1718895438,
"narHash": "sha256-k3JqJrkdoYwE3fHE6xGDY676AYmyh4U2Zw+0Bwe5DLU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "9a9960b98418f8c385f52de3b09a63f9c561427a",
"rev": "d603719ec6e294f034936c0d0dc06f689d91b6c3",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-23.11",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}

View File

@@ -1,7 +1,7 @@
{
description = "NVIM Configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
neovim = {
url = "github:neovim/neovim/stable?dir=contrib";
@@ -9,7 +9,6 @@
};
};
outputs = inputs @ {
self,
nixpkgs,
flake-utils,
neovim,
@@ -17,7 +16,9 @@
}:
flake-utils.lib.eachDefaultSystem (system: let
overlayFlakeInputs = prev: final: {
neovim = neovim.packages.${system}.neovim;
neovim = neovim.packages.${system}.neovim.overrideAttrs (oa: {
nativeBuildInputs = oa.nativeBuildInputs ++ [final.libtermkey];
});
};
overlayLazyVim = prev: final: {