README: change pta2002 to nix-community

This commit is contained in:
Pedro Alves 2023-07-14 21:37:21 +01:00
parent 22306af9aa
commit 0778266e44
2 changed files with 21 additions and 18 deletions

View file

@ -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!
## 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
@ -41,7 +41,7 @@ To install it, edit your home-manager (or NixOS) configuration:
{ pkgs, lib, ... }:
let
nixvim = import (builtins.fetchGit {
url = "https://github.com/pta2002/nixvim";
url = "https://github.com/nix-community/nixvim";
});
in
{
@ -79,7 +79,7 @@ flakes, just add the nixvim input:
```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):
```
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
@ -122,7 +122,7 @@ can use the following:
{
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";
outputs = {
@ -196,7 +196,7 @@ be.
# Documentation
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
After you have installed NixVim, you will no doubt want to enable some plugins.

View file

@ -2,27 +2,30 @@
description = "A nixvim configuration";
inputs = {
nixvim.url = "github:pta2002/nixvim";
nixvim.url = "github:nix-community/nixvim";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = {
nixpkgs,
nixvim,
flake-utils,
...
} @ inputs: let
config = import ./config; # import the module directly
in
flake-utils.lib.eachDefaultSystem (system: let
outputs =
{ nixpkgs
, nixvim
, flake-utils
, ...
} @ inputs:
let
config = import ./config; # import the module directly
in
flake-utils.lib.eachDefaultSystem (system:
let
nixvimLib = nixvim.lib.${system};
pkgs = import nixpkgs {inherit system;};
pkgs = import nixpkgs { inherit system; };
nixvim' = nixvim.legacyPackages.${system};
nvim = nixvim'.makeNixvimWithModule {
inherit pkgs;
module = config;
};
in {
in
{
checks = {
# Run `nix flake check .` to verify that your config is not broken
default = nixvimLib.check.mkTestDerivationFromNvim {