0xda157's nixvim config

thing

0xda157 dca3e033 400d5cd5

+42 -29
+11
README.md
··· 1 + run with 2 + 3 + ```bash 4 + nix run https://codeberg.org/da157/nixvim-cfg/archive/main.tar.gz 5 + ``` 6 + 7 + or 8 + 9 + ```bash 10 + nix run git+https://codeberg.org/da157/nixvim-cfg.git 11 + ```
+31 -29
flake.nix
··· 16 16 inputs = { 17 17 systems.follows = "systems"; 18 18 flake-parts.follows = "flake-parts"; 19 - nuschtosSearch.follows = ""; 20 19 }; 21 20 }; 22 21 }; ··· 38 37 }; 39 38 40 39 flake.nixvimModules = { 41 - base = { 42 - imports = [ 43 - # keep-sorted start 44 - ./modules/config.nix 45 - ./modules/keymaps.nix 46 - ./modules/plugins 47 - ./modules/plugins/alpha 48 - ./modules/plugins/completion 49 - ./modules/plugins/gitsigns 50 - ./modules/plugins/indent-blankline 51 - ./modules/plugins/lualine 52 - ./modules/plugins/neo-tree 53 - ./modules/plugins/telescope 54 - ./modules/plugins/treesitter 55 - # keep-sorted end 56 - ]; 57 - }; 58 - full = { 59 - imports = [ 60 - # keep-sorted start block=yes prefix_order=self,./ 61 - ./modules/plugins/conform 62 - ./modules/plugins/lint 63 - ./modules/plugins/lsp 64 - inputs.self.nixvimModules.base 65 - # keep-sorted end 66 - ]; 67 - }; 40 + base.imports = [ 41 + # keep-sorted start 42 + ./modules/config.nix 43 + ./modules/keymaps.nix 44 + ./modules/plugins 45 + ./modules/plugins/alpha 46 + ./modules/plugins/completion 47 + ./modules/plugins/gitsigns 48 + ./modules/plugins/indent-blankline 49 + ./modules/plugins/lualine 50 + ./modules/plugins/neo-tree 51 + ./modules/plugins/telescope 52 + ./modules/plugins/treesitter 53 + # keep-sorted end 54 + ]; 55 + full.imports = [ 56 + # keep-sorted start block=yes prefix_order=self,./ 57 + ./modules/plugins/conform 58 + ./modules/plugins/lint 59 + ./modules/plugins/lsp 60 + inputs.self.nixvimModules.base 61 + # keep-sorted end 62 + ]; 68 63 }; 69 64 70 65 perSystem = 71 - { system, pkgs, ... }: 66 + { 67 + system, 68 + pkgs, 69 + config, 70 + ... 71 + }: 72 72 { 73 73 nixvimConfigurations = 74 74 lib.mapAttrs ··· 82 82 nixvim = [ inputs.self.nixvimModules.full ]; 83 83 nixvim-minimal = [ inputs.self.nixvimModules.base ]; 84 84 }; 85 + 86 + packages.default = config.packages.nixvim; 85 87 86 88 formatter = pkgs.treefmt.withConfig { 87 89 runtimeInputs = with pkgs; [