From 59b820146763424db380b4f5ed82ccaf0fae923b Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Fri, 17 Jul 2026 23:50:41 +0530 Subject: refactor: standardize file-level comments, drop unused pkgs, and theme lazygit with base16 - Move inline comments to top of file across all modules for consistent style - Add descriptive comments to files missing them (aggregators, assertions, scripts, flake) - Remove unused `pkgs` parameter from i3/keybindings.nix and zathura/default.nix - Drop explicit `package = pkgs.zathura` (home-manager provides the default) - Delete stale meli-sync.sh (migrated to neomutt) - Remove extraneous blank lines for consistent formatting - Theme lazygit with config.scheme base16 colors instead of hardcoded names --- modules/development/nixvim/plugins/cmp.nix | 3 +-- modules/development/nixvim/plugins/comment.nix | 3 +-- modules/development/nixvim/plugins/default.nix | 3 +-- modules/development/nixvim/plugins/gitsigns.nix | 3 +-- modules/development/nixvim/plugins/indent-blankline.nix | 3 +-- modules/development/nixvim/plugins/lsp.nix | 3 +-- modules/development/nixvim/plugins/lualine.nix | 3 +-- modules/development/nixvim/plugins/luasnip.nix | 3 +-- modules/development/nixvim/plugins/noice.nix | 3 +-- modules/development/nixvim/plugins/nvim-tree.nix | 3 +-- modules/development/nixvim/plugins/telescope.nix | 3 +-- modules/development/nixvim/plugins/treesitter.nix | 3 +-- modules/development/nixvim/plugins/web-devicons.nix | 3 +-- modules/development/nixvim/plugins/which-key.nix | 3 +-- 14 files changed, 14 insertions(+), 28 deletions(-) (limited to 'modules/development/nixvim/plugins') diff --git a/modules/development/nixvim/plugins/cmp.nix b/modules/development/nixvim/plugins/cmp.nix index 0bf8601..4affdd4 100644 --- a/modules/development/nixvim/plugins/cmp.nix +++ b/modules/development/nixvim/plugins/cmp.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Cmp - Completion plugin (nvim-cmp) for auto-completion +{ config, lib, ... }: { config.programs.nixvim.plugins.cmp = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/comment.nix b/modules/development/nixvim/plugins/comment.nix index a14bd10..8170ea4 100644 --- a/modules/development/nixvim/plugins/comment.nix +++ b/modules/development/nixvim/plugins/comment.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Comment - Comment toggling plugin (comment.nvim) +{ config, lib, ... }: { config.programs.nixvim.plugins.comment = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/default.nix b/modules/development/nixvim/plugins/default.nix index a263c51..f11a2d5 100644 --- a/modules/development/nixvim/plugins/default.nix +++ b/modules/development/nixvim/plugins/default.nix @@ -1,6 +1,5 @@ -{ ... }: - # Plugins - Collection of nixvim plugin configurations +{ ... }: { imports = [ ./cmp.nix diff --git a/modules/development/nixvim/plugins/gitsigns.nix b/modules/development/nixvim/plugins/gitsigns.nix index a737238..a35a5d8 100644 --- a/modules/development/nixvim/plugins/gitsigns.nix +++ b/modules/development/nixvim/plugins/gitsigns.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Gitsigns - Git status in the sign column (gitsigns.nvim) +{ config, lib, ... }: { config.programs.nixvim.plugins.gitsigns = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/indent-blankline.nix b/modules/development/nixvim/plugins/indent-blankline.nix index 38e6a91..a07b361 100644 --- a/modules/development/nixvim/plugins/indent-blankline.nix +++ b/modules/development/nixvim/plugins/indent-blankline.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Indent-blankline - Visual indentation guides (indent-blankline.nvim) +{ config, lib, ... }: { config.programs.nixvim.plugins.indent-blankline = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/lsp.nix b/modules/development/nixvim/plugins/lsp.nix index cac48a2..46bd897 100644 --- a/modules/development/nixvim/plugins/lsp.nix +++ b/modules/development/nixvim/plugins/lsp.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # LSP - Language Server Protocol configuration (nvim-lspconfig) +{ config, lib, ... }: { config.programs.nixvim.plugins.lsp = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/lualine.nix b/modules/development/nixvim/plugins/lualine.nix index b621b7c..ab46499 100644 --- a/modules/development/nixvim/plugins/lualine.nix +++ b/modules/development/nixvim/plugins/lualine.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Lualine - Statusline configuration (lualine.nvim) +{ config, lib, ... }: { config.programs.nixvim.plugins.lualine = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/luasnip.nix b/modules/development/nixvim/plugins/luasnip.nix index 6c48c8b..e704435 100644 --- a/modules/development/nixvim/plugins/luasnip.nix +++ b/modules/development/nixvim/plugins/luasnip.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Luasnip - Snippet engine for Neovim (Lua-based) +{ config, lib, ... }: { config.programs.nixvim.plugins.luasnip = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/noice.nix b/modules/development/nixvim/plugins/noice.nix index ddbe6c8..622f8d5 100644 --- a/modules/development/nixvim/plugins/noice.nix +++ b/modules/development/nixvim/plugins/noice.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Noice - Modern UI for Neovim (cmdline, popupmenu, messages) +{ config, lib, ... }: { config.programs.nixvim.plugins.noice = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/nvim-tree.nix b/modules/development/nixvim/plugins/nvim-tree.nix index 4eeb8c6..c3b104d 100644 --- a/modules/development/nixvim/plugins/nvim-tree.nix +++ b/modules/development/nixvim/plugins/nvim-tree.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Nvim-tree - File explorer sidebar (nvim-tree.lua) +{ config, lib, ... }: { config.programs.nixvim.plugins.nvim-tree = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/telescope.nix b/modules/development/nixvim/plugins/telescope.nix index cd8c001..dc873fd 100644 --- a/modules/development/nixvim/plugins/telescope.nix +++ b/modules/development/nixvim/plugins/telescope.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Telescope - Fuzzy finder +{ config, lib, ... }: { config.programs.nixvim.plugins.telescope = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/treesitter.nix b/modules/development/nixvim/plugins/treesitter.nix index c983832..d462792 100644 --- a/modules/development/nixvim/plugins/treesitter.nix +++ b/modules/development/nixvim/plugins/treesitter.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Treesitter - Syntax highlighting and parsing (nvim-treesitter) +{ config, lib, ... }: { config.programs.nixvim.plugins.treesitter = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/web-devicons.nix b/modules/development/nixvim/plugins/web-devicons.nix index 6366af9..d222df4 100644 --- a/modules/development/nixvim/plugins/web-devicons.nix +++ b/modules/development/nixvim/plugins/web-devicons.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Web-devicons - File icons for various file types (nvim-web-devicons) +{ config, lib, ... }: { config.programs.nixvim.plugins.web-devicons = lib.mkIf config.development.nixvim.enable { enable = true; diff --git a/modules/development/nixvim/plugins/which-key.nix b/modules/development/nixvim/plugins/which-key.nix index 67f2427..ea55615 100644 --- a/modules/development/nixvim/plugins/which-key.nix +++ b/modules/development/nixvim/plugins/which-key.nix @@ -1,6 +1,5 @@ -{ config, lib, ... }: - # Which-key - Popup for keybindings (which-key.nvim) +{ config, lib, ... }: { config.programs.nixvim.plugins.which-key = lib.mkIf config.development.nixvim.enable { enable = true; -- cgit v1.2.3