docs: showcase how to enable experimental features #4

Merged
krauterbaquette merged 1 commit from docs into Dev 2025-07-28 15:17:47 +02:00

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**: 3. **Build and switch to the system configuration**:
```bash ```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**: 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) 2. [pipe-operators](https://nix.dev/manual/nix/2.26/language/operators#pipe-operators)
They are needed to activate the configuration. They are needed to activate the configuration.
To enable them in your config set:
```nix
nix.settings.experimental-features = [
"flakes" "pipe-operators"
];
```
### Rebuild Notes ### Rebuild Notes
Due to how **Home Manager** and XFCE handle theming, changes may not fully apply on the first attempt. Due to how **Home Manager** and XFCE handle theming, changes may not fully apply on the first attempt.