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 = { colorschemes = {
catppuccin = { catppuccin = {
enable = true; enable = true;
settings.flavor = "mocha"; settings.flavor = "mocha";
}; };

View file

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

View file

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

View file

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