doc: fix instructions for enabling flakes in NixOS (#7189)

This commit is contained in:
Norbert Melzer
2025-06-03 14:57:46 +02:00
committed by GitHub
parent cb809ec1ff
commit 593b0c667d

View File

@@ -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`