1
0
Fork 0
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:
Norbert Melzer 2025-06-03 14:57:46 +02:00 committed by GitHub
parent cb809ec1ff
commit 593b0c667d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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`