Refactor vim plugins overlay
Add overlays for additions, modifications and unstable packages, and move each additional plugin into its own additional package.
This commit is contained in:
parent
cd25bf96e9
commit
4f9073757c
18 changed files with 188 additions and 133 deletions
14
flake.nix
14
flake.nix
|
@ -19,6 +19,8 @@
|
|||
...
|
||||
}@inputs:
|
||||
let
|
||||
inherit (self) outputs;
|
||||
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
|
@ -27,13 +29,21 @@
|
|||
mkNixos = import ./lib/nixos {
|
||||
inherit
|
||||
inputs
|
||||
outputs
|
||||
nixos-hardware
|
||||
pkgs
|
||||
self
|
||||
username
|
||||
;
|
||||
};
|
||||
mkWsl = import ./lib/wsl2 { inherit inputs self username; };
|
||||
mkWsl = import ./lib/wsl2 {
|
||||
inherit
|
||||
inputs
|
||||
outputs
|
||||
self
|
||||
username
|
||||
;
|
||||
};
|
||||
|
||||
inherit (pkgs) mkShell;
|
||||
inherit (pkgs.vimUtils) buildVimPlugin;
|
||||
|
@ -50,6 +60,8 @@
|
|||
|
||||
formatter.${system} = pkgs.nixfmt-rfc-style;
|
||||
|
||||
overlays = import ./overlays { inherit inputs; };
|
||||
|
||||
nixosConfigurations = {
|
||||
lemp11 = mkNixos {
|
||||
desktop = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue