14 Commits

Author SHA1 Message Date
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
9c8b4e5d5a feat: add Colorizer plugin
All checks were successful
check-flake / build (push) Successful in 4m23s
2024-05-11 14:22:40 +03:00
3f27e8495f Update renovate.json5
All checks were successful
check-flake / build (pull_request) Successful in 2m45s
check-flake / build (push) Successful in 3m18s
2024-03-25 12:59:08 +02:00
56460e393c Add renovate.json5 2024-03-25 12:59:08 +02:00
15a12bce41 feat: update build ci
All checks were successful
check-flake / build (push) Successful in 2m38s
2024-03-25 12:52:13 +02:00
f0203cc6fe feat: update build ci
Some checks failed
check-flake / build (push) Failing after 4m7s
2024-03-25 12:30:06 +02:00
a99bb19d48 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 1m35s
2024-03-25 12:24:50 +02:00
1eb5d9d141 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 2m16s
2024-03-25 12:17:49 +02:00
681e045851 feat: update build ci
Some checks failed
check-flake / lockfile (push) Failing after 38s
2024-03-25 12:14:50 +02:00
9d1cf13fd1 feat: use nixci to build flake
Some checks failed
check-flake / lockfile (push) Failing after 7m20s
2024-03-25 11:50:36 +02:00
fa6148515c feat: remove /homeless-shelter directory before building
Some checks failed
check-flake / lockfile (push) Failing after 2m31s
2024-03-25 11:35:35 +02:00
e482aa9e63 feat: add check-flake ci
Some checks failed
check-flake / lockfile (push) Failing after 6m47s
2024-03-25 09:43:46 +02:00
12 changed files with 83 additions and 47 deletions

View File

@@ -0,0 +1,28 @@
name: check-flake
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: "main"
- 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
with:
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
nix_path: nixpkgs=channel:nixos-23.11
- name: Build nix flake
run: |
while true; do sleep 1; rm -rf /homeless-shelter; done &
nix build
- name: Check nix flake
run: nix flake check --all-systems

View File

@@ -1,37 +0,0 @@
name: update-flake-lock
on:
schedule:
- cron: "0 1 0 * *"
jobs:
lockfile:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: "main"
- 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
with:
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Update nix flake lockfile
run: |
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update
- name: Verify Changed files
uses: tj-actions/verify-changed-files@v19
id: verify-changed-files
with:
files: |
flake.lock
- name: Push updated lockfile
if: steps.verify-changed-files.outputs.files_changed == 'true'
run: |
git diff
git config --global user.name "Gitea Bot"
git config --global user.email "bot@git.palkoi.net"
git add flake.lock
git commit -m 'choke(nix-lock): bump flake.lock versions'
git push

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,14 +26,17 @@ 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" },
{ import = "plugins.lang.shell" },
{ import = "plugins.misc.tmux-navigator" },
{ import = "plugins.undotree" },
{ import = "plugins.ui.colorizer" },
},
defaults = {
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.

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,
},
},
},
}

View File

@@ -0,0 +1,6 @@
return {
"chrisbra/Colorizer",
keys = {
{ "<leader>uR", "<cmd>ColorToggle<cr>", desc = "Toggle Colorizer" },
},
}

6
flake.lock generated
View File

@@ -59,11 +59,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1711124224,
"narHash": "sha256-l0zlN/3CiodvWDtfBOVxeTwYSRz93muVbXWSpaMjXxM=",
"lastModified": 1715218190,
"narHash": "sha256-R98WOBHkk8wIi103JUVQF3ei3oui4HvoZcz9tYOAwlk=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "56528ee42526794d413d6f244648aaee4a7b56c0",
"rev": "9a9960b98418f8c385f52de3b09a63f9c561427a",
"type": "github"
},
"original": {

7
renovate.json5 Normal file
View File

@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>local/renovate"],
"nix": {
"enabled": true
}
}