If you'd like to give it a try before installing: nix run github:JustAlternate/justnixvim
1: Go to the flake.nix and add justnixvim.url = "github:JustAlternate/justnixvim"
to your inputs.
# flake
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
justnixvim.url = "github:JustAlternate/justnixvim";
};
}
2: Run nix flake update
3: Install it by adding inputs.justnixvim.packages.${system}.default
to your environment.systemPackages or home.packages. If you're using home-manager.
# packages
{ inputs, pkgs, ... }:
{
home.packages = with pkgs; [
inputs.justnixvim.packages.${system}.default
];
}
4: Rebuild your system.
To test your configuration simply run the following command
nix run .
The original creator of this configuration