Compare commits

...

42 Commits

Author SHA1 Message Date
bot b1378e4ba7 chore(flake): update flake.lock 2026-05-05 03:15:38 +00:00
palkx e9f7b49c57 feat: add uk langmap
build-flake / Build flake (push) Successful in 4m34s
build-flake / Release a new version (push) Successful in 15s
2026-04-20 13:52:05 +03:00
bot a27be979fe chore(flake): update flake.lock 2026-04-17 03:15:20 +00:00
palkx 6855a707d4 feat: update plugins, flake
build-flake / Build flake (push) Successful in 9m52s
build-flake / Release a new version (push) Successful in 13s
Sync flake lock with main nix-configuration project / Sync flake lock with main nix-configuration project (push) Successful in 7s
Sync flake lock with main nix-configuration project / Build flake (push) Successful in 9m9s
Sync flake lock with main nix-configuration project / Release a new version (push) Successful in 10s
2026-04-16 18:14:54 +03:00
bot 03dfec1389 chore(flake): update flake.lock 2026-02-28 03:15:25 +00:00
bot bcad05d8ec chore(flake): update flake.lock 2026-02-25 03:15:29 +00:00
bot 232e31f4e4 chore(flake): update flake.lock 2026-02-24 03:15:32 +00:00
bot ec9e40dd6b chore(flake): update flake.lock 2026-02-21 03:15:26 +00:00
bot 226642ba54 chore(flake): update flake.lock 2026-02-20 03:15:25 +00:00
bot d8ac9cfcfe chore(flake): update flake.lock 2026-02-17 03:15:26 +00:00
bot 30da4f8404 chore(flake): update flake.lock 2026-02-15 03:15:28 +00:00
bot 3aef60a590 chore(flake): update flake.lock 2026-02-12 03:15:23 +00:00
bot 8ad5890f43 chore(flake): update flake.lock 2026-02-11 03:15:32 +00:00
bot 673a4063aa chore(flake): update flake.lock 2026-02-08 03:15:25 +00:00
bot be123a6ae3 chore(flake): update flake.lock 2026-02-04 03:15:31 +00:00
bot f588ea9713 chore(flake): update flake.lock 2026-02-02 03:15:32 +00:00
bot 20663750ab chore(flake): update flake.lock 2026-01-29 03:15:23 +00:00
bot d1e2bd1e4e chore(flake): update flake.lock 2026-01-27 03:15:27 +00:00
bot 66e5105f72 chore(flake): update flake.lock 2026-01-24 03:15:32 +00:00
bot fbb56f446a chore(flake): update flake.lock 2026-01-22 03:15:24 +00:00
bot 63d25677a7 chore(flake): update flake.lock 2026-01-20 03:15:28 +00:00
bot 2f5d3ff853 chore(flake): update flake.lock 2026-01-18 03:15:21 +00:00
bot 9219404b1f chore(flake): update flake.lock 2026-01-15 03:15:27 +00:00
bot 12394ad542 chore(flake): update flake.lock 2026-01-14 03:15:21 +00:00
bot 7561b0e946 chore(flake): update flake.lock 2026-01-12 03:15:28 +00:00
palkx 398745443d feat(conform): install asdf-vm instead of tenv for terraform formatting
check-commits / Check commits (pull_request) Successful in 8s
build-flake / build (pull_request) Successful in 4m28s
build-flake / Build flake (push) Successful in 4m27s
build-flake / Release a new version (push) Successful in 10s
Sync flake lock with main nix-configuration project / Sync flake lock with main nix-configuration project (push) Successful in 6s
Sync flake lock with main nix-configuration project / Build flake (push) Successful in 4m46s
Sync flake lock with main nix-configuration project / Release a new version (push) Successful in 10s
2026-01-08 10:41:22 +02:00
bot fba52b1f2f chore(flake): update flake.lock 2026-01-08 03:15:25 +00:00
bot 702b8808cb chore(flake): update flake.lock 2026-01-07 03:15:21 +00:00
bot 4535cb4db5 chore(flake): update flake.lock 2026-01-05 03:15:20 +00:00
bot d93120d43e chore(flake): update flake.lock 2026-01-04 00:24:46 +00:00
palkx 9418deddae ci: update
build-flake / Build flake (push) Has been cancelled
build-flake / Release a new version (push) Has been cancelled
2026-01-04 02:24:17 +02:00
palkx fedfd9235c ci: update
build-flake / Release a new version (push) Has been cancelled
build-flake / Build flake (push) Has been cancelled
2026-01-03 18:09:27 +02:00
palkx 0eed1c5008 ci: run release update only if any new changes are exist
build-flake / Build flake (push) Successful in 5m42s
build-flake / Release a new version (push) Successful in 8s
Sync flake lock with main nix-configuration project / Sync flake lock with main nix-configuration project (push) Successful in 6m3s
Sync flake lock with main nix-configuration project / Release a new version (push) Successful in 8s
2026-01-01 20:20:29 +02:00
palkx 85a295744b ci: run release job
build-flake / Build flake (push) Successful in 5m37s
build-flake / Release a new version (push) Successful in 9s
Sync flake lock with main nix-configuration project / Sync flake lock with main nix-configuration project (push) Successful in 17s
Sync flake lock with main nix-configuration project / Release a new version (push) Failing after 8s
2025-12-31 22:11:45 +02:00
bot adfcc88ef5 fix(flake): update flake.lock 2025-12-31 03:19:30 +00:00
palkx ab55d46cb4 fix: update nixos 25.05->25.11
build-flake / Build flake (push) Successful in 5m7s
build-flake / Release a new version (push) Successful in 13s
Sync flake lock with main nix-configuration project / Sync flake lock with main nix-configuration project (push) Successful in 4m23s
2025-12-30 21:37:11 +02:00
palkx dc70f0e701 ci: commit auto sync updates as fix
build-flake / Release a new version (push) Has been cancelled
build-flake / Build flake (push) Has been cancelled
2025-12-30 21:35:15 +02:00
bot d7eb04e754 chore(flake): update flake.lock 2025-12-30 19:24:17 +00:00
palkx 24f8e51285 ci: auto sync flake.lock
build-flake / Build flake (push) Successful in 8m9s
build-flake / Release a new version (push) Successful in 9s
2025-12-30 21:16:44 +02:00
palkx 49cc2b51a6 ci: add gitea token
build-flake / Build flake (push) Successful in 8m13s
build-flake / Release a new version (push) Successful in 21s
2025-12-30 21:00:19 +02:00
palkx baa4928b0e ci: auto sync flake.lock
build-flake / Build flake (push) Successful in 4m39s
build-flake / Release a new version (push) Successful in 9s
2025-12-30 20:54:09 +02:00
palkx 15233d9ea5 fix(conform): disable slow formatters in before_save hook, and format them after save
build-flake / Build flake (push) Successful in 4m27s
build-flake / Release a new version (push) Successful in 8s
2025-12-29 12:27:55 +02:00
13 changed files with 192 additions and 65 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
extra_nix_config: | extra_nix_config: |
experimental-features = nix-command flakes experimental-features = nix-command flakes
github_access_token: ${{ secrets.GH_ACCESS_TOKEN }} github_access_token: ${{ secrets.GH_ACCESS_TOKEN }}
nix_path: nixpkgs=channel:nixos-25.05 nix_path: nixpkgs=channel:nixos-25.11
- uses: cachix/cachix-action@v16 - uses: cachix/cachix-action@v16
with: with:
name: palkx name: palkx
+1 -1
View File
@@ -12,4 +12,4 @@ jobs:
release: release:
name: Release a new version name: Release a new version
needs: build needs: build
uses: xaked/actions/.gitea/workflows/cog-release.yml@2.0.0 uses: xaked/actions/.gitea/workflows/cog-release.yml@2.0.3
+54
View File
@@ -0,0 +1,54 @@
name: Sync flake lock with main nix-configuration project
on:
schedule:
- cron: "15 3 * * *"
workflow_dispatch:
jobs:
update:
permissions:
contents: write
name: Sync flake lock with main nix-configuration project
runs-on: ubuntu-latest
outputs:
changes: ${{ steps.checkChanges.outputs.CHANGES }}
steps:
- name: Checkout Repository
uses: actions/checkout@v6
- name: Checkout nix-configuration repository
uses: actions/checkout@v6
with:
repository: xaked/nix-config
path: nix-config
ref: master
token: ${{ secrets.NIX_CONFIGURATION_GITEA_CLONE_TOKEN }}
- name: Check for update and perform update
id: checkChanges
run: |
git config user.name gitea-bot
git config user.email bot@git.palkoi.net
git config --global user.email bot@git.palkoi.net
git config --global user.name gitea-bot
tmpfile="$(mktemp)"
jq -srM '.[1].nodes.nixpkgs = .[0].nodes.nixpkgs_2|.[1].nodes.nixpkgs_2 = .[0].nodes.nixpkgs_2 | .[1]' ./nix-config/flake.lock flake.lock > "$tmpfile"
cat "$tmpfile" > flake.lock
git add flake.lock
if [ -n "$(git diff --cached)" ]; then git diff --cached; echo 'CHANGES=y'>>$GITHUB_OUTPUT; else echo 'CHANGES=n'>>$GITHUB_OUTPUT; fi
- name: Commit updates
if: ${{ steps.checkChanges.outputs.CHANGES == 'y' }}
run: |
git commit --no-gpg-sign -m 'chore(flake): update flake.lock'
git push
build:
name: Build flake
if: ${{ needs.update.outputs.changes == 'y' }}
needs: update
uses: ./.gitea/workflows/build-flake.yml
release:
name: Release a new version
needs: build
uses: xaked/actions/.gitea/workflows/cog-release.yml@2.1.0
with:
ref: ${{ github.ref_name }}
+1
View File
@@ -1,2 +1,3 @@
[commit_types] [commit_types]
version = { bump_patch = true, changelog_title = "Version" } version = { bump_patch = true, changelog_title = "Version" }
chore = { bump_patch = true, changelog_title = "Chore" }
+1 -4
View File
@@ -6,19 +6,16 @@
./modules/plugins/lsp ./modules/plugins/lsp
./modules/plugins/airline.nix
./modules/plugins/blink-cmp.nix ./modules/plugins/blink-cmp.nix
./modules/plugins/bufferline.nix ./modules/plugins/bufferline.nix
./modules/plugins/conform-nvim.nix ./modules/plugins/conform-nvim.nix
./modules/plugins/fzf-lua.nix ./modules/plugins/fzf-lua.nix
./modules/plugins/gitsigns.nix ./modules/plugins/gitsigns.nix
./modules/plugins/lualine.nix
./modules/plugins/mini.nix ./modules/plugins/mini.nix
# ./modules/plugins/neotree.nix
./modules/plugins/oil.nix ./modules/plugins/oil.nix
./modules/plugins/snacks.nix ./modules/plugins/snacks.nix
./modules/plugins/tmux-navigator.nix
./modules/plugins/treesitter.nix ./modules/plugins/treesitter.nix
./modules/plugins/undotree.nix
./modules/plugins/venv-selector.nix ./modules/plugins/venv-selector.nix
./modules/plugins/which-key.nix ./modules/plugins/which-key.nix
]; ];
+27 -22
View File
@@ -1,3 +1,4 @@
{ pkgs, ... }:
{ {
config = { config = {
extraConfigLuaPre = extraConfigLuaPre =
@@ -41,7 +42,12 @@
plugins.conform-nvim = { plugins.conform-nvim = {
enable = true; enable = true;
autoInstall.enable = true; autoInstall = {
enable = true;
overrides = {
"terraform_fmt" = pkgs.asdf-vm;
};
};
settings = { settings = {
default_format_opts.lsp_format = "fallback"; default_format_opts.lsp_format = "fallback";
formatters_by_ft = { formatters_by_ft = {
@@ -124,34 +130,33 @@
return return
end end
-- if slow_format_filetypes[vim.bo[bufnr].filetype] then if slow_format_filetypes[vim.bo[bufnr].filetype] then
-- return return
-- end end
local function on_format(err) local function on_format(err)
return if err and err:match("timeout$") then
-- if err and err:match("timeout$") then slow_format_filetypes[vim.bo[bufnr].filetype] = true
-- slow_format_filetypes[vim.bo[bufnr].filetype] = true end
-- end
end end
return { timeout_ms = 200, lsp_fallback = true }, on_format return { timeout_ms = 200, lsp_fallback = true }, on_format
end end
''; '';
# format_after_save = # Lua format_after_save = # Lua
# '' ''
# function(bufnr) function(bufnr)
# if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
# return return
# end end
#
# if not slow_format_filetypes[vim.bo[bufnr].filetype] then if not slow_format_filetypes[vim.bo[bufnr].filetype] then
# return return
# end end
#
# return { lsp_fallback = true } return { lsp_fallback = true }
# end end
# ''; '';
log_level = "warn"; log_level = "warn";
notify_on_error = true; notify_on_error = true;
notify_no_formatters = false; notify_no_formatters = false;
+9
View File
@@ -0,0 +1,9 @@
{
plugins.lightline = {
enable = true;
settings = {
colorscheme = "catppuccin";
tabline = false;
};
};
}
+9
View File
@@ -0,0 +1,9 @@
{
plugins.lualine = {
enable = true;
settings.options = {
theme = "catppuccin";
globalstatus = true;
};
};
}
-1
View File
@@ -5,7 +5,6 @@
modules = { modules = {
icons = { }; icons = { };
comment = { }; comment = { };
diff = { };
}; };
}; };
} }
+13 -6
View File
@@ -4,14 +4,14 @@
enable = true; enable = true;
settings = { settings = {
bigfile.enabled = true; bigfile.enabled = true;
notifier.enabled = true;
quickfile.enabled = true;
statuscolumn.enabled = true; statuscolumn.enabled = true;
words.enabled = true;
lazygit.enabled = true; lazygit.enabled = true;
picker.enabled = true; picker = {
indent.enabled = true; enabled = true;
scope.enabled = true; matcher = {
frecency = true;
};
};
}; };
}; };
@@ -436,6 +436,13 @@
desc = "Delete Buffer"; desc = "Delete Buffer";
}; };
} }
{
key = "<leader>bo";
action = lib.nixvim.mkRaw "function() Snacks.bufdelete.other() end";
options = {
desc = "Delete Other Buffers";
};
}
{ {
key = "<leader>cR"; key = "<leader>cR";
action = lib.nixvim.mkRaw "function() Snacks.rename.rename_file() end"; action = lib.nixvim.mkRaw "function() Snacks.rename.rename_file() end";
+38 -6
View File
@@ -3,7 +3,6 @@
plugins = { plugins = {
treesitter = { treesitter = {
enable = true; enable = true;
settings = { settings = {
indent = { indent = {
enable = true; enable = true;
@@ -17,12 +16,48 @@
grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars; grammarPackages = pkgs.vimPlugins.nvim-treesitter.allGrammars;
}; };
# Show sticky context window at top
treesitter-context = { treesitter-context = {
enable = false; enable = true;
settings = {
max_lines = 5;
mode = "topline";
trim_scope = "outer";
};
};
# highlight scoped function
indent-blankline = {
enable = true;
settings = {
exclude = {
buftypes = [
"terminal"
"quickfix"
];
filetypes = [
""
"checkhealth"
"help"
"lspinfo"
"packer"
"TelescopePrompt"
"TelescopeResults"
];
};
indent = {
char = "";
};
scope = {
show_end = false;
show_exact_scope = true;
show_start = true;
};
};
}; };
treesitter-textobjects = { treesitter-textobjects = {
enable = true; enable = false;
settings = { settings = {
select = { select = {
enable = true; enable = true;
@@ -31,7 +66,4 @@
}; };
}; };
}; };
extraConfigLua = ''
local parser_config = require("nvim-treesitter.parsers").get_parser_configs()
'';
} }
+14
View File
@@ -62,6 +62,15 @@
scrolloff = 5; scrolloff = 5;
}; };
# Enable limit colomn
opts.colorcolumn = "80,120";
opts.wrap = false;
# This info is displayed in lightline
opts.showmode = false;
# UK keymap
opts.langmap = "йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ї],фa,іs,вd,аf,пg,рh,оj,лk,дl,ж\\;,є',яz,чx,сc,мv,иb,тn,ьm,б\\,,ю.,ЙQ,ЦW,УE,КR,ЕT,НY,ГU,ШI,ЩO,ЗP,Х{,Ї},ФA,ІS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж:,Є\",ЯZ,ЧX,СC,МV,ИB,ТN,ЬM,Б<,Ю>,ґ`,Ґ~";
diagnostic.settings = { diagnostic.settings = {
update_in_insert = true; update_in_insert = true;
severity_sort = true; severity_sort = true;
@@ -112,4 +121,9 @@
# Comment.underline = true; # Comment.underline = true;
# Comment.bold = true; # Comment.bold = true;
# }; # };
withNodeJs = false;
withPerl = false;
withPython3 = false;
withRuby = false;
} }
Generated
+24 -24
View File
@@ -5,11 +5,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1765835352, "lastModified": 1775087534,
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", "narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "a34fae9c08a15ad73f295041fec82323541400a9", "rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -26,11 +26,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765835352, "lastModified": 1768135262,
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", "narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "a34fae9c08a15ad73f295041fec82323541400a9", "rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -87,15 +87,15 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1766473571, "lastModified": 1776734388,
"narHash": "sha256-5G1NDO2PulBx1RoaA6U1YoUDX0qZslpPxv+n5GX6Qto=", "narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"owner": "nixos", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "76701a179d3a98b07653e2b0409847499b2a07d3", "rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nixos", "owner": "NixOS",
"ref": "nixos-25.11", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
@@ -103,11 +103,11 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1765674936, "lastModified": 1774748309,
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", "narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs.lib", "repo": "nixpkgs.lib",
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", "rev": "333c4e0545a6da976206c74db8773a1645b5870a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -118,11 +118,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1766473571, "lastModified": 1776734388,
"narHash": "sha256-5G1NDO2PulBx1RoaA6U1YoUDX0qZslpPxv+n5GX6Qto=", "narHash": "sha256-vl3dkhlE5gzsItuHoEMVe+DlonsK+0836LIRDnm6MXQ=",
"owner": "nixos", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "76701a179d3a98b07653e2b0409847499b2a07d3", "rev": "10e7ad5bbcb421fe07e3a4ad53a634b0cd57ffac",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -140,11 +140,11 @@
"systems": "systems_2" "systems": "systems_2"
}, },
"locked": { "locked": {
"lastModified": 1766849711, "lastModified": 1769049374,
"narHash": "sha256-gtLBwhgjERca1UCzGkFplD5epIVRiNkePHVVtyFr73g=", "narHash": "sha256-h0Os2qqNyycDY1FyZgtbn28VF1ySP74/n0f+LDd8j+w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixvim", "repo": "nixvim",
"rev": "cae79c48e93bd61e478dfc12456bf68b1ce66074", "rev": "b8f76bf5751835647538ef8784e4e6ee8deb8f95",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -164,11 +164,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1761730856, "lastModified": 1768249818,
"narHash": "sha256-t1i5p/vSWwueZSC0Z2BImxx3BjoUDNKyC2mk24krcMY=", "narHash": "sha256-ANfn5OqIxq3HONPIXZ6zuI5sLzX1sS+2qcf/Pa0kQEc=",
"owner": "NuschtOS", "owner": "NuschtOS",
"repo": "search", "repo": "search",
"rev": "e29de6db0cb3182e9aee75a3b1fd1919d995d85b", "rev": "b6f77b88e9009bfde28e2130e218e5123dc66796",
"type": "github" "type": "github"
}, },
"original": { "original": {