Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 593 Bytes

README.md

File metadata and controls

40 lines (31 loc) · 593 Bytes

Nixvim configuration

Usage

Flake

  # flake.nix
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
    nixvim = {
      url = "github:hensg/nixvim";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  #...

  # configuration.nix
  { config, pkgs, inputs, ... }:
  {
    #...
      environment.systemPackages = with pkgs; [
        inputs.nixvim.packages.${system}.default
        #...
      ]
    #...
  }

Testing your new configuration

To test your configuration simply run the following command

nix run .

Thanks

@redyf,@primeagen