formatting

This commit is contained in:
Osman Faruk Bayram 2025-06-19 12:11:20 +03:00
parent b4db8de9b0
commit 6f1f0e6ea7
4 changed files with 24 additions and 24 deletions

View file

@ -1,6 +1,6 @@
{
colorschemes = {
catppuccin = {
catppuccin = {
enable = true;
settings.flavor = "mocha";
};

View file

@ -3,7 +3,7 @@
./colorscheme.nix
./options.nix
./plugins
];
];
config = {
# Use <Space> as leader key
@ -35,23 +35,23 @@
ripgrep
];
keymaps = [
{
mode = "n";
key = "<leader>gg";
action = "<cmd>LazyGit<CR>";
options = {
desc = "LazyGit (root dir)";
};
}
];
extraPlugins = with pkgs.vimPlugins; [
lazygit-nvim
];
keymaps = [
{
mode = "n";
key = "<leader>gg";
action = "<cmd>LazyGit<CR>";
options = {
desc = "LazyGit (root dir)";
};
}
];
extraPlugins = with pkgs.vimPlugins; [
lazygit-nvim
];
extraConfigLua = ''
require("telescope").load_extension("lazygit")
'';
extraConfigLua = ''
require("telescope").load_extension("lazygit")
'';
performance = {
byteCompileLua = {
enable = true;

View file

@ -1,9 +1,8 @@
{
plugins.avante = {
lazyLoad.settings.event = [ "DeferredUIEnter" ];
lazyLoad.settings.event = ["DeferredUIEnter"];
settings = {
provider = "claude";
provider = "claude";
providers = {
claude = {
endpoint = "https://api.anthropic.com";
@ -15,5 +14,5 @@
};
};
};
};
};
}

View file

@ -1,5 +1,6 @@
{lib, ...}:{
imports = lib.mapAttrsToList (name: path: ./. + "/${name}")
{lib, ...}: {
imports =
lib.mapAttrsToList (name: _path: ./. + "/${name}")
(lib.filterAttrs (filename: kind:
filename != "default.nix" && (kind == "regular" || kind == "directory"))
(builtins.readDir ./.));