New packages and some fixes

This commit is contained in:
Buliway 2025-05-09 10:22:18 +03:00
parent 7cd3bf9e4f
commit 1006b6c1d2
6 changed files with 24 additions and 12 deletions

6
flake.lock generated
View file

@ -263,11 +263,11 @@
}, },
"nixpkgs2": { "nixpkgs2": {
"locked": { "locked": {
"lastModified": 1743827369, "lastModified": 1746328495,
"narHash": "sha256-rpqepOZ8Eo1zg+KJeWoq1HAOgoMCDloqv5r2EAa9TSA=", "narHash": "sha256-uKCfuDs7ZM3QpCE/jnfubTg459CnKnJG/LwqEVEdEiw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "42a1c966be226125b48c384171c44c651c236c22", "rev": "979daf34c8cacebcd917d540070b52a3c2b9b16e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -18,9 +18,11 @@
accelProfile = "flat"; accelProfile = "flat";
scrollMethod = "button"; scrollMethod = "button";
scrollButton = 9; # Узнать айди можно через `xev -event button | grep button` scrollButton = 9; # Узнать айди можно через `xev -event button | grep button`
middleEmulation = false;
}; };
touchpad = { touchpad = {
accelProfile = "flat"; accelProfile = "flat";
middleEmulation = false;
}; };
}; };

View file

@ -119,7 +119,8 @@
steam = { steam = {
enable = true; enable = true;
extraCompatPackages = with pkgs; [ # Доп версии протона. Должны иметь `steamcompattool` output package = pkgs2.steam;
extraCompatPackages = with pkgs2; [ # Доп версии протона. Должны иметь `steamcompattool` output
proton-ge-bin proton-ge-bin
]; ];
# fontPackages = with pkgs; []; # Font packages to use in Steam # fontPackages = with pkgs; []; # Font packages to use in Steam
@ -201,6 +202,7 @@
# sql-formatter # SQL formatter # sql-formatter # SQL formatter
sqlite sqlite
dbeaver-bin dbeaver-bin
pgadmin4
# Frontend # Frontend
nodejs_23 # For npm nodejs_23 # For npm
@ -294,6 +296,10 @@
miller # Like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed miller # Like awk, sed, cut, join, and sort for data formats such as CSV, TSV, JSON, JSON Lines, and positionally-indexed
# htmlq # Как jq, но для html. Извлекать конкретные элементы из html # htmlq # Как jq, но для html. Извлекать конкретные элементы из html
# mkvtoolnix-cli # Cross-platform tools for Matroska # mkvtoolnix-cli # Cross-platform tools for Matroska
usbutils # lsusb
f2fs-tools # f2fs filesystem
exfat # exFAT filesystem
alacritty # Минималистичный терминал. Основной у меня alacritty # Минималистичный терминал. Основной у меня
kitty # Самый быстрый протокол отображения медиа, но ssh через жопу работает kitty # Самый быстрый протокол отображения медиа, но ssh через жопу работает
@ -418,8 +424,8 @@
# bottles # Минималистичная альтернатива lutris # bottles # Минималистичная альтернатива lutris
# Мб зависимости # Мб зависимости
steam-run # На всякий случай pkgs2.steam-run # На всякий случай
mangohud # Фпс и нагрузку на пк показывает в играх pkgs2.mangohud # Фпс и нагрузку на пк показывает в играх
# gamemode # Оптимизации линуха и игр # gamemode # Оптимизации линуха и игр
wineWowPackages.stable # support both 32- and 64-bit applications wineWowPackages.stable # support both 32- and 64-bit applications
# wineWowPackages.staging # Можно назвать бета версией вайна # wineWowPackages.staging # Можно назвать бета версией вайна
@ -432,7 +438,7 @@
############ ############
krita # Рисовать 1. Часто крашится krita # Рисовать 1. Часто крашится
gimp # Рисовать 2. Потом выберу что оставить pkgs2.gimp3 # Рисовать 2. Потом выберу что оставить
blender-hip # 3д графика и рендер видео blender-hip # 3д графика и рендер видео
gcolor3 # GUI color picker gcolor3 # GUI color picker
xcolor # CLI color picker https://github.com/Soft/xcolor xcolor # CLI color picker https://github.com/Soft/xcolor

View file

@ -98,9 +98,9 @@ vim.api.nvim_create_autocmd('User', {
nested = true, nested = true,
}) })
vim.keymap.set('n', '<Space><BS>', function() -- vim.keymap.set('n', '<Space><BS>', function()
restore_session() -- restore_session()
end, { desc = 'Restore session' }) -- end, { desc = 'Restore session' })
-- Session delete -- Session delete
vim.keymap.set('n', '<Space>Sd', function() vim.keymap.set('n', '<Space>Sd', function()

View file

@ -97,7 +97,7 @@ return {
completion = { completion = {
-- By default, you may press `<c-space>` to show the documentation. -- By default, you may press `<c-space>` to show the documentation.
-- Optionally, set `auto_show = true` to show the documentation after a delay. -- Optionally, set `auto_show = true` to show the documentation after a delay.
documentation = { auto_show = false, auto_show_delay_ms = 500 }, documentation = { auto_show = true, auto_show_delay_ms = 500 },
}, },
sources = { sources = {

View file

@ -231,7 +231,11 @@ return {
lspconfig.nixd.setup {} lspconfig.nixd.setup {}
-- Golang -- Golang
lspconfig.gopls.setup {} lspconfig.gopls.setup {
completion = {
unimported = false,
},
}
lspconfig.templ.setup {} lspconfig.templ.setup {}
-- Frontend -- Frontend