kekl
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
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; };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user