docs: showcase how to enable experimental features

This commit is contained in:
gytic 2025-07-28 11:12:30 +02:00
parent 4f5206479f
commit bd2af79f22

View file

@ -91,7 +91,9 @@ Some have been lightly edited. Originals were created by [aconfuseddragon](https
3. **Build and switch to the system configuration**:
```bash
sudo nixos-rebuild switch --flake .#default
sudo nixos-rebuild switch --flake .#default \
--extra-experimental-features flakes \
--extra-experimental-features pipe-operators
```
4. **Apply user settings with Home Manager**:
@ -107,6 +109,13 @@ NixOS-95 relys on multiple experimental nix features. These are:
2. [pipe-operators](https://nix.dev/manual/nix/2.26/language/operators#pipe-operators)
They are needed to activate the configuration.
To enable them in your config set:
```nix
nix.settings.experimental-features = [
"flakes" "pipe-operators"
];
```
### Rebuild Notes
Due to how **Home Manager** and XFCE handle theming, changes may not fully apply on the first attempt.