My Nix Configuration
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

[dishvim] extract basics and git config

dish 19702abe 58ca194a

+62 -39
+45
neovim/basics.nix
··· 1 + { lib, pkgs, ... }: 2 + { 3 + config.vim = { 4 + extraPackages = [ 5 + pkgs.inotify-tools 6 + ]; 7 + diagnostics.enable = true; 8 + options.tabstop = 2; 9 + options.shiftwidth = 2; 10 + withNodeJs = false; 11 + withPython3 = false; 12 + withRuby = false; 13 + syntaxHighlighting = true; 14 + autocomplete.blink-cmp = { 15 + enable = true; 16 + setupOpts.completion.menu.border = "single"; 17 + setupOpts.signature.enabled = true; 18 + }; 19 + autopairs.nvim-autopairs.enable = true; 20 + clipboard = { 21 + enable = true; 22 + providers.wl-copy.enable = true; 23 + registers = "unnamedplus"; 24 + }; 25 + lineNumberMode = "relNumber"; 26 + mini.icons.enable = true; 27 + theme = { 28 + enable = true; 29 + name = "catppuccin"; 30 + style = "mocha"; 31 + }; 32 + ui = { 33 + borders = { 34 + enable = true; 35 + globalStyle = "single"; 36 + }; 37 + colorizer.enable = true; 38 + }; 39 + utility.direnv.enable = true; 40 + visuals = { 41 + indent-blankline.enable = true; 42 + rainbow-delimiters.enable = true; 43 + }; 44 + }; 45 + }
+2 -39
neovim/dishvim.nix
··· 2 2 { 3 3 imports = [ 4 4 # keep-sorted start 5 + ./basics.nix 6 + ./git.nix 5 7 ./languages/caddyfile.nix 6 8 ./languages/css.nix 7 9 ./languages/fish.nix ··· 16 18 # keep-sorted end 17 19 ]; 18 20 config.vim = { 19 - extraPackages = [ 20 - pkgs.inotify-tools 21 - ]; 22 - diagnostics.enable = true; 23 - options.tabstop = 2; 24 - options.shiftwidth = 2; 25 - withNodeJs = false; 26 - withPython3 = false; 27 - withRuby = false; 28 - syntaxHighlighting = true; 29 - autocomplete.blink-cmp = { 30 - enable = true; 31 - setupOpts.completion.menu.border = "single"; 32 - }; 33 - autopairs.nvim-autopairs.enable = true; 34 - clipboard = { 35 - enable = true; 36 - providers.wl-copy.enable = true; 37 - registers = "unnamedplus"; 38 - }; 39 - lineNumberMode = "relNumber"; 40 - mini.icons.enable = true; 41 - theme = { 42 - enable = true; 43 - name = "catppuccin"; 44 - style = "mocha"; 45 - }; 46 21 treesitter.enable = true; 47 22 treesitter.grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ 48 23 tera 49 24 vento 50 25 ]; 51 - git = { 52 - gitsigns.enable = true; 53 - }; 54 26 binds.whichKey = { 55 27 enable = true; 56 28 register = { ··· 84 56 }; 85 57 yaml.enable = true; 86 58 }; 87 - ui = { 88 - borders = { 89 - enable = true; 90 - globalStyle = "single"; 91 - }; 92 - colorizer.enable = true; 93 - }; 94 - utility.direnv.enable = true; 95 59 visuals.fidget-nvim = { 96 60 enable = true; 97 61 setupOpts = { ··· 99 63 notification.override_vim_notify = true; 100 64 }; 101 65 }; 102 - visuals.indent-blankline.enable = true; 103 66 }; 104 67 }
+15
neovim/git.nix
··· 1 + { lib, pkgs, ... }: 2 + { 3 + config.vim = { 4 + treesitter.grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ 5 + git_config 6 + git_rebase 7 + gitattributes 8 + gitcommit 9 + gitignore 10 + ]; 11 + git = { 12 + gitsigns.enable = true; 13 + }; 14 + }; 15 + }