enable adb and flatpk, update pkgs2
This commit is contained in:
parent
87b6bf7121
commit
848546a81c
3 changed files with 14 additions and 4 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -263,11 +263,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs2": {
|
"nixpkgs2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1756125398,
|
"lastModified": 1760284886,
|
||||||
"narHash": "sha256-XexyKZpf46cMiO5Vbj+dWSAXOnr285GHsMch8FBoHbc=",
|
"narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3b9f00d7a7bf68acd4c4abb9d43695afb04e03a5",
|
"rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -40,12 +40,16 @@
|
||||||
services = {
|
services = {
|
||||||
gvfs.enable = true; # Mount, trash, and other functionalities for Thunar file manager
|
gvfs.enable = true; # Mount, trash, and other functionalities for Thunar file manager
|
||||||
tumbler.enable = true; # Thumbnail support 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
|
# unclutter.enable = true; # Hide your mouse cursor when inactive
|
||||||
# fwupd.enable = true; # DBus service that allows applications to update firmware
|
# fwupd.enable = true; # DBus service that allows applications to update firmware
|
||||||
# greenclip.enable = true; # https://github.com/erebe/greenclip (использую clipmenu вместо этого)
|
# greenclip.enable = true; # https://github.com/erebe/greenclip (использую clipmenu вместо этого)
|
||||||
# fstrim.enable = true; # Чистит ssd для норм производительности. Пока не пользуюсь
|
# fstrim.enable = true; # Чистит ssd для норм производительности. Пока не пользуюсь
|
||||||
# archisteamfarm = {}; # Фарм карточек стима афк. Просто раскомментить мало, надо настроить
|
# archisteamfarm = {}; # Фарм карточек стима афк. Просто раскомментить мало, надо настроить
|
||||||
|
flatpak = {
|
||||||
|
# flatpak install flathub com.github.tchx84.Flatseal
|
||||||
|
enable = true;
|
||||||
|
package = pkgs2.flatpak;
|
||||||
|
};
|
||||||
ollama = {
|
ollama = {
|
||||||
enable = true;
|
enable = true;
|
||||||
acceleration = "rocm";
|
acceleration = "rocm";
|
||||||
|
|
@ -136,6 +140,8 @@
|
||||||
# Я хз надо ли оно мне. https://github.com/ValveSoftware/gamescope
|
# Я хз надо ли оно мне. https://github.com/ValveSoftware/gamescope
|
||||||
# Подробносни тут https://ventureo.codeberg.page/source/linux-gaming.html#gamescope
|
# Подробносни тут https://ventureo.codeberg.page/source/linux-gaming.html#gamescope
|
||||||
gamescope.enable = true;
|
gamescope.enable = true;
|
||||||
|
|
||||||
|
adb.enable = true; # Android Tools
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
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-stable # osu!stable from nix-gaming
|
||||||
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin # osu!lazer from nix-gaming
|
# inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin # osu!lazer from nix-gaming
|
||||||
# pkgs2.osu-lazer-bin
|
# pkgs2.osu-lazer-bin
|
||||||
|
pkgs2.lutris # Запускать .exe игры. Не всё через `wine game.exe` работает на nixos нормально
|
||||||
|
|
||||||
# Мб зависимости
|
# Мб зависимости
|
||||||
protonup-qt # Управлять версиями proton-ge?
|
protonup-qt # Управлять версиями proton-ge?
|
||||||
|
|
|
||||||
|
|
@ -310,6 +310,9 @@ return {
|
||||||
local cap_json = vim.lsp.protocol.make_client_capabilities()
|
local cap_json = vim.lsp.protocol.make_client_capabilities()
|
||||||
cap_json.textDocument.completion.completionItem.snippetSupport = true
|
cap_json.textDocument.completion.completionItem.snippetSupport = true
|
||||||
lspconfig.jsonls.setup {
|
lspconfig.jsonls.setup {
|
||||||
|
on_attach = function(client, bufnr) -- Выключить форматирование
|
||||||
|
client.server_capabilities.documentFormattingProvider = false
|
||||||
|
end,
|
||||||
capabilities = cap_json,
|
capabilities = cap_json,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue