mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
README: change pta2002 to nix-community
This commit is contained in:
parent
22306af9aa
commit
0778266e44
2 changed files with 21 additions and 18 deletions
12
README.md
12
README.md
|
@ -23,7 +23,7 @@ When we do this, lightline will be set up to a sensible default, and will use
|
||||||
gruvbox as the colorscheme, no extra configuration required!
|
gruvbox as the colorscheme, no extra configuration required!
|
||||||
|
|
||||||
## Support/Questions
|
## Support/Questions
|
||||||
If you have any question, please use the [discussions page](https://github.com/pta2002/nixvim/discussions/categories/q-a)! Alternatively, join the Matrix channel at [#nixvim:matrix.org](https://matrix.to/#/#nixvim:matrix.org)!
|
If you have any question, please use the [discussions page](https://github.com/nix-community/nixvim/discussions/categories/q-a)! Alternatively, join the Matrix channel at [#nixvim:matrix.org](https://matrix.to/#/#nixvim:matrix.org)!
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ To install it, edit your home-manager (or NixOS) configuration:
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
nixvim = import (builtins.fetchGit {
|
nixvim = import (builtins.fetchGit {
|
||||||
url = "https://github.com/pta2002/nixvim";
|
url = "https://github.com/nix-community/nixvim";
|
||||||
});
|
});
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -79,7 +79,7 @@ flakes, just add the nixvim input:
|
||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
# ...
|
# ...
|
||||||
inputs.nixvim.url = github:pta2002/nixvim;
|
inputs.nixvim.url = "github:nix-community/nixvim";
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -109,7 +109,7 @@ If you want to use it standalone, you can use the `makeNixvim` function:
|
||||||
To get started with a standalone configuration you can use the template by running the following command in an empty directory (recommended):
|
To get started with a standalone configuration you can use the template by running the following command in an empty directory (recommended):
|
||||||
|
|
||||||
```
|
```
|
||||||
nix flake init --template github:pta2002/nixvim
|
nix flake init --template github:nix-community/nixvim
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively if you want a minimal flake to allow building a custom neovim you
|
Alternatively if you want a minimal flake to allow building a custom neovim you
|
||||||
|
@ -122,7 +122,7 @@ can use the following:
|
||||||
{
|
{
|
||||||
description = "A very basic flake";
|
description = "A very basic flake";
|
||||||
|
|
||||||
inputs.nixvim.url = "github:pta2002/nixvim";
|
inputs.nixvim.url = "github:nix-community/nixvim";
|
||||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
@ -196,7 +196,7 @@ be.
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
Documentation is available on this project's GitHub Pages page:
|
Documentation is available on this project's GitHub Pages page:
|
||||||
[https://pta2002.github.io/nixvim](https://pta2002.github.io/nixvim)
|
[https://nix-community.github.io/nixvim](https://nix-community.github.io/nixvim)
|
||||||
|
|
||||||
## Plugins
|
## Plugins
|
||||||
After you have installed NixVim, you will no doubt want to enable some plugins.
|
After you have installed NixVim, you will no doubt want to enable some plugins.
|
||||||
|
|
|
@ -2,27 +2,30 @@
|
||||||
description = "A nixvim configuration";
|
description = "A nixvim configuration";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixvim.url = "github:pta2002/nixvim";
|
nixvim.url = "github:nix-community/nixvim";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs =
|
||||||
nixpkgs,
|
{ nixpkgs
|
||||||
nixvim,
|
, nixvim
|
||||||
flake-utils,
|
, flake-utils
|
||||||
...
|
, ...
|
||||||
} @ inputs: let
|
} @ inputs:
|
||||||
config = import ./config; # import the module directly
|
let
|
||||||
in
|
config = import ./config; # import the module directly
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
in
|
||||||
|
flake-utils.lib.eachDefaultSystem (system:
|
||||||
|
let
|
||||||
nixvimLib = nixvim.lib.${system};
|
nixvimLib = nixvim.lib.${system};
|
||||||
pkgs = import nixpkgs {inherit system;};
|
pkgs = import nixpkgs { inherit system; };
|
||||||
nixvim' = nixvim.legacyPackages.${system};
|
nixvim' = nixvim.legacyPackages.${system};
|
||||||
nvim = nixvim'.makeNixvimWithModule {
|
nvim = nixvim'.makeNixvimWithModule {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
module = config;
|
module = config;
|
||||||
};
|
};
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
checks = {
|
checks = {
|
||||||
# Run `nix flake check .` to verify that your config is not broken
|
# Run `nix flake check .` to verify that your config is not broken
|
||||||
default = nixvimLib.check.mkTestDerivationFromNvim {
|
default = nixvimLib.check.mkTestDerivationFromNvim {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue