enable adb and flatpk, update pkgs2

This commit is contained in:
Buliway 2025-10-15 05:17:45 +03:00
parent 87b6bf7121
commit 848546a81c
3 changed files with 14 additions and 4 deletions

6
flake.lock generated
View file

@ -263,11 +263,11 @@
},
"nixpkgs2": {
"locked": {
"lastModified": 1756125398,
"narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
"lastModified": 1760284886,
"narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
"rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43",
"type": "github"
},
"original": {

View file

@ -40,12 +40,16 @@
services = {
gvfs.enable = true; # Mount, trash, and other functionalities for Thunar file manager
tumbler.enable = true; # Thumbnail support for Thunar file manager
# flatpak.enable = true;
# unclutter.enable = true; # Hide your mouse cursor when inactive
# fwupd.enable = true; # DBus service that allows applications to update firmware
# greenclip.enable = true; # https://github.com/erebe/greenclip (использую clipmenu вместо этого)
# fstrim.enable = true; # Чистит ssd для норм производительности. Пока не пользуюсь
# archisteamfarm = {}; # Фарм карточек стима афк. Просто раскомментить мало, надо настроить
flatpak = {
# flatpak install flathub com.github.tchx84.Flatseal
enable = true;
package = pkgs2.flatpak;
};
ollama = {
enable = true;
acceleration = "rocm";
@ -136,6 +140,8 @@
# Я хз надо ли оно мне. https://github.com/ValveSoftware/gamescope
# Подробносни тут https://ventureo.codeberg.page/source/linux-gaming.html#gamescope
gamescope.enable = true;
adb.enable = true; # Android Tools
};
environment.systemPackages = with pkgs; [
@ -434,6 +440,7 @@
inputs.nix-gaming.packages.${pkgs.system}.osu-stable # osu!stable from nix-gaming
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin # osu!lazer from nix-gaming
# pkgs2.osu-lazer-bin
pkgs2.lutris # Запускать .exe игры. Не всё через `wine game.exe` работает на nixos нормально
# Мб зависимости
protonup-qt # Управлять версиями proton-ge?

View file

@ -310,6 +310,9 @@ return {
local cap_json = vim.lsp.protocol.make_client_capabilities()
cap_json.textDocument.completion.completionItem.snippetSupport = true
lspconfig.jsonls.setup {
on_attach = function(client, bufnr) -- Выключить форматирование
client.server_capabilities.documentFormattingProvider = false
end,
capabilities = cap_json,
}