mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
doc: fix instructions for enabling flakes in NixOS (#7189)
This commit is contained in:
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user