37 lines
866 B
Nix
37 lines
866 B
Nix
{
|
|
description = "My neovim configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
|
|
utils.url = "github:gytis-ivaskevicius/flake-utils-plus/v1.4.0";
|
|
nil.url = "github:oxalica/nil";
|
|
alejandra = {
|
|
url = "github:kamadorueda/alejandra/3.0.0";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = {
|
|
self,
|
|
nixpkgs,
|
|
utils,
|
|
alejandra,
|
|
...
|
|
} @ inputs: let
|
|
in
|
|
utils.lib.mkFlake {
|
|
inherit self inputs;
|
|
outputsBuilder = channel: let
|
|
system = channel.nixpkgs.system;
|
|
in {
|
|
formatter = alejandra.defaultPackage.${channel.nixpkgs.system};
|
|
devShells.default = import ./shell.nix {
|
|
pkgs = channel.nixpkgs;
|
|
inherit (inputs.nil.packages.${system}) nil;
|
|
};
|
|
};
|
|
|
|
lib = import ./lib.nix { inherit nixpkgs; };
|
|
};
|
|
}
|