26 lines
566 B
Nix
26 lines
566 B
Nix
{
|
|
description = "Opinionated Nixvim config as a flake";
|
|
|
|
inputs = {
|
|
## nixvim uses it's own version, so this is only
|
|
## for explicitly installed packages and non nixvim config
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... } @ inputs:
|
|
{
|
|
nixosModules = rec {
|
|
nixvim-config = { pkgs, ... }:
|
|
import ./default.nix {
|
|
inherit inputs;
|
|
inherit pkgs;
|
|
};
|
|
default = nixvim-config;
|
|
};
|
|
};
|
|
}
|