mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-29 15:03:44 +01:00
Compare commits
No commits in common. "d5ef609f6f0c6d6dc9e5afcc77c52ecce308bd9f" and "b62faa2539b1fcfd24da0e5cb10170f7d9afba60" have entirely different histories.
d5ef609f6f
...
b62faa2539
|
@ -30,7 +30,7 @@
|
|||
colorschemes.catppuccin.enable = true;
|
||||
plugins = {
|
||||
persistence = {
|
||||
enable = true;
|
||||
enable = true;
|
||||
};
|
||||
navic = {
|
||||
enable = true;
|
||||
|
@ -136,23 +136,23 @@
|
|||
copilot-cmp.enable = false;
|
||||
neocord.enable = true;
|
||||
rustaceanvim = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
settings = {
|
||||
# dap.autoloadConfigurations = true;
|
||||
# dap.adapter = let
|
||||
# code-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb;
|
||||
# in {
|
||||
# executable.command = "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb";
|
||||
# executable.args = [
|
||||
# "--liblldb"
|
||||
# "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.dylib"
|
||||
# "--port"
|
||||
# "31337"
|
||||
# ];
|
||||
# type = "server";
|
||||
# port = "31337";
|
||||
# host = "127.0.0.1";
|
||||
# };
|
||||
dap.autoloadConfigurations = true;
|
||||
dap.adapter = let
|
||||
code-lldb = pkgs.vscode-extensions.vadimcn.vscode-lldb;
|
||||
in {
|
||||
executable.command = "${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/adapter/codelldb";
|
||||
executable.args = [
|
||||
"--liblldb"
|
||||
"${code-lldb}/share/vscode/extensions/vadimcn.vscode-lldb/lldb/lib/liblldb.dylib"
|
||||
"--port"
|
||||
"31337"
|
||||
];
|
||||
type = "server";
|
||||
port = "31337";
|
||||
host = "127.0.0.1";
|
||||
};
|
||||
};
|
||||
server = {
|
||||
settings = {
|
||||
|
@ -163,7 +163,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
# rustaceanvim.settings.server.default_settings.rust-analyzer.diagnostics.disabled = ["inactive-code"];
|
||||
rustaceanvim.settings.server.default_settings.rust-analyzer.diagnostics.disabled = ["inactive-code"];
|
||||
lsp = {
|
||||
enable = true;
|
||||
inlayHints = true;
|
||||
|
@ -183,17 +183,11 @@
|
|||
java-language-server.enable = true;
|
||||
hls.enable = true;
|
||||
eslint.enable = true;
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
installCargo = false;
|
||||
installRustc = false;
|
||||
settings = {
|
||||
inlayHints = {
|
||||
closureStyle = "rust_analyzer";
|
||||
};
|
||||
typing.autoClosingAngleBrackets.enable = true;
|
||||
};
|
||||
};
|
||||
# rust-analyzer = {
|
||||
# enable = true;
|
||||
# installCargo = false;
|
||||
# installRustc = false;
|
||||
# };
|
||||
nil_ls.enable = true;
|
||||
};
|
||||
};
|
||||
|
@ -214,8 +208,7 @@
|
|||
nixvimInjections = true;
|
||||
settings = {
|
||||
ensure_installed = "all";
|
||||
# highlight.enable = true;
|
||||
highlight.enable = true;
|
||||
highlight.enable = true;
|
||||
};
|
||||
};
|
||||
treesitter-refactor = {
|
||||
|
@ -563,45 +556,45 @@
|
|||
mode = ["n"];
|
||||
key = "<leader>qs";
|
||||
action = ''
|
||||
function()
|
||||
require("persistence").load()
|
||||
end
|
||||
function()
|
||||
require("persistence").load()
|
||||
end
|
||||
'';
|
||||
lua = true;
|
||||
options.desc = "Load the session for the current directory";
|
||||
options.desc = "Load the session for the current directory";
|
||||
}
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<leader>qS";
|
||||
action = ''
|
||||
function()
|
||||
require("persistence").select()
|
||||
end
|
||||
function()
|
||||
require("persistence").select()
|
||||
end
|
||||
'';
|
||||
lua = true;
|
||||
options.desc = "Select a session to load";
|
||||
options.desc = "Select a session to load";
|
||||
}
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<leader>ql";
|
||||
action = ''
|
||||
function()
|
||||
require("persistence").load({ last = true })
|
||||
end
|
||||
function()
|
||||
require("persistence").load({ last = true })
|
||||
end
|
||||
'';
|
||||
lua = true;
|
||||
options.desc = "Load the last session";
|
||||
options.desc = "Load the last session";
|
||||
}
|
||||
{
|
||||
mode = ["n"];
|
||||
key = "<leader>qd";
|
||||
action = ''
|
||||
function()
|
||||
require("persistence").stop()
|
||||
end
|
||||
function()
|
||||
require("persistence").stop()
|
||||
end
|
||||
'';
|
||||
lua = true;
|
||||
options.desc = "Stop persistence";
|
||||
options.desc = "Stop persistence";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
@ -136,19 +136,8 @@
|
|||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
jack.enable = true;
|
||||
extraConfig = {
|
||||
pipewire = {
|
||||
"10-clock-rate" = {
|
||||
"context.properties" = {
|
||||
"default.clock.rate" = 44100;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.gamemode.enable = true;
|
||||
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
|
|
Loading…
Reference in a new issue