Something went wrong. Try again.
my personal neovim config
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nvf = { url = "github:NotAShelf/nvf"; inputs.nixpkgs.follows = "nixpkgs"; }; };
outputs = { self, nixpkgs, ... }@inputs: let supportedSystems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
mkSystem = system: let pkgs = import nixpkgs { inherit system; config.allowUnfree = true; }; yarnvim = pkgs.callPackage ./default.nix { inherit inputs; }; in { packages = { inherit yarnvim; default = yarnvim; }; devShells.default = pkgs.mkShell { packages = with pkgs; [ nil nixd ]; }; };
systems = nixpkgs.lib.genAttrs supportedSystems mkSystem; in { packages = nixpkgs.lib.mapAttrs (_: v: v.packages) systems; devShells = nixpkgs.lib.mapAttrs (_: v: v.devShells) systems; };}