add readme instructions for global experimental flags

This commit is contained in:
E M 2026-02-03 21:11:20 +11:00
parent e575f494e9
commit e6ffe7696b
No known key found for this signature in database

View File

@ -42,6 +42,11 @@ If you don't have flakes enabled globally, add experimental flags:
nix build --extra-experimental-features 'nix-command flakes'
```
To enable globally so you don't need these flag for each command, add the following to `~/.config/nix/nix.conf` (create if it doesn't exist):
```ini
experimental-features = nix-command flakes
```
The compiled artifacts can be found at `result/`
#### SELinux