25 lines
617 B
Nix
25 lines
617 B
Nix
{
|
|
description = "My autistic nvf config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nvf.url = "github:notashelf/nvf";
|
|
};
|
|
|
|
outputs = { nixpkgs, nvf, ... }: let
|
|
system = "x86_64-linux";
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
nvimWrapped = nvf.lib.neovimConfiguration {
|
|
inherit pkgs;
|
|
modules = [ ./default.nix ];
|
|
};
|
|
in {
|
|
packages.${system}.default = nvimWrapped.neovim;
|
|
nixosModules.default = { ... }: {
|
|
imports = [ nvf.nixosModules.default ];
|
|
programs.nvf = { enable = true; settings = import ./default.nix; };
|
|
};
|
|
};
|
|
}
|
|
|