0xda157's nixvim config

destructure inputs

0xda157 41070026 b425bc74

+13 -9
+13 -9
flake.nix
··· 21 }; 22 23 outputs = 24 - inputs: 25 - inputs.flake-parts.lib.mkFlake { inherit inputs; } ( 26 { lib, ... }: 27 { 28 - systems = import inputs.systems; 29 30 - imports = [ 31 - inputs.nixvim.flakeModules.default 32 - ]; 33 34 nixvim = { 35 packages.enable = true; ··· 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 ]; 63 }; ··· 79 } 80 ) 81 { 82 - nixvim = [ inputs.self.nixvimModules.full ]; 83 - nixvim-minimal = [ inputs.self.nixvimModules.base ]; 84 }; 85 86 packages.default = config.packages.nixvim;
··· 21 }; 22 23 outputs = 24 + { 25 + self, 26 + nixpkgs, 27 + systems, 28 + flake-parts, 29 + nixvim, 30 + }@inputs: 31 + flake-parts.lib.mkFlake { inherit inputs; } ( 32 { lib, ... }: 33 { 34 + systems = import systems; 35 36 + imports = [ nixvim.flakeModules.default ]; 37 38 nixvim = { 39 packages.enable = true; ··· 58 ]; 59 full.imports = [ 60 # keep-sorted start block=yes prefix_order=self,./ 61 + self.nixvimModules.base 62 ./modules/plugins/conform 63 ./modules/plugins/lint 64 ./modules/plugins/lsp 65 # keep-sorted end 66 ]; 67 }; ··· 83 } 84 ) 85 { 86 + nixvim = [ self.nixvimModules.full ]; 87 + nixvim-minimal = [ self.nixvimModules.base ]; 88 }; 89 90 packages.default = config.packages.nixvim;