docs: showcase how to enable experimental features
This commit is contained in:
parent
4f5206479f
commit
bd2af79f22
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue