mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
readme: Simplify flakes instructions
This commit is contained in:
parent
b9ed900032
commit
ff6ad12a7d
1 changed files with 1 additions and 3 deletions
|
@ -133,9 +133,7 @@ system. To enable flakes, add this to `/etc/nixos/configuration.nix`
|
||||||
{ pkgs, lib, ... }:
|
{ pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
extraOptions = lib.optionalString (config.nix.package == pkgs.nixFlakes)
|
|
||||||
"experimental-features = nix-command flakes";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue