mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 19:46:05 +01:00
doc: fix instructions for enabling flakes in NixOS (#7189)
This commit is contained in:
parent
cb809ec1ff
commit
593b0c667d
1 changed files with 1 additions and 6 deletions
|
|
@ -8,12 +8,7 @@
|
|||
and rebuild your system.
|
||||
|
||||
``` nix
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
};
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
```
|
||||
|
||||
- If you are not using NixOS, add the following to `nix.conf`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue