mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-30 06:39:56 +02:00
misc: added flake template (#219)
* Added simple flake template * Added readme to template * Updated readme to show how to use the template * Formatting * removed unused file from template * Fixed template url and pkgs * Formatting
This commit is contained in:
parent
6e027c40f2
commit
2258eb8df8
9 changed files with 133 additions and 26 deletions
14
flake.nix
14
flake.nix
|
@ -107,6 +107,11 @@
|
|||
};
|
||||
};
|
||||
formatter = pkgs.alejandra;
|
||||
|
||||
lib = import ./lib {
|
||||
inherit pkgs;
|
||||
inherit (pkgs) lib;
|
||||
};
|
||||
});
|
||||
in
|
||||
flakeOutput
|
||||
|
@ -114,5 +119,14 @@
|
|||
nixosModules.nixvim = import ./wrappers/nixos.nix modules;
|
||||
homeManagerModules.nixvim = import ./wrappers/hm.nix modules;
|
||||
nixDarwinModules.nixvim = import ./wrappers/darwin.nix modules;
|
||||
|
||||
templates = let
|
||||
simple = {
|
||||
path = ./templates/simple;
|
||||
description = "A simple nix flake template for getting started with nixvim";
|
||||
};
|
||||
in {
|
||||
default = simple;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue