19 lines
469 B
Nix
19 lines
469 B
Nix
{
|
|
description = "Personal neovim configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in {
|
|
packages.${system}.nvimConfig = pkgs.runCommand "nvim-config" {} ''
|
|
mkdir -p $out
|
|
cp -r ${self}/. $out
|
|
''
|
|
|
|
};
|
|
}
|