Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

PierreBorine/nixvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

303 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixvim-config

Note

This project has given up on github and is now hosted on Codeberg.

My Nixvim configuration

nvim

Usage

Run without installing

nix run github:PierreBorine/nixvim-config

Flake

Import this flake into your's

# flake.nix
{
  inputs = {
    nixvim-config.url = "github:PierreBorine/nixvim-config";
    # Recommended
    nixvim-config.inputs.nixpkgs.follows = "nixpkgs";
  };
}

Access the package like this

# configuration.nix
{inputs, pkgs, lib, ...}: {
  # With default settings
  environment.systemPackages = [inputs.nixvim-config.packages.${pkgs.stdenv.hostPlatform.system}.default];

  # Recommended:
  # With some settings
  environment.systemPackages = let
    nvim = inputs.nixvim-config.lib.mkNvim {
      inherit (pkgs.stdenv.hostPlatform) system; # mandatory
      # Used to get the flake's options (inputs.self) for the Nix LSP
      # default: null
      inherit inputs;
      # Whether to install and enable wakatime
      # default: false
      wakatime = true;
      # Whether to enable 42 School related options
      # Stdheader, norm formatter
      # default: null
      life = 42;
      # Whether to have transparent background by default.
      # Can be toggled with <leader>ut
      # default: false
      transparent = false;
      # Which languages to support.
      # either "All" or a list, available options:
      # ["Nix" "C" "Rust" "QML" "Python" "CS" "Web" "Markdown"]
      # default: []
      languages = "All";
      # Whether to disable some dependencies.
      # Usefull to reduce closure size.
      # default = false
      portable = true;
      # Extra Nixvim config.
      # See official documentation.
      config = {
        plugins = {
          smear-cursor.enable = true;
          hardtime.settings.enabled = true;
        };
        opts.wrap = lib.mkForce false;
      };
    };
  in [nvim];
}

About

My Neovim configuration using Nixvim (migrated to codeberg)

Resources

License

Stars

Watchers

Forks

Contributors