Skip to content

Commit 9b0e836

Browse files
authored
Update installation instructions for flakes support
Added instructions to enable flakes and run a health check.
1 parent bd29a98 commit 9b0e836

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

en/install.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ curl --proto '=https' --tlsv1.2 -sSf -L https://artifacts.nixos.org/experimental
1717
sh -s -- install --no-confirm --extra-conf "trusted-users = $(whoami)"
1818
```
1919

20+
Enable flakes:
21+
22+
```sh
23+
echo "experimental-features = nix-command flakes" | sudo tee -a /etc/nix/nix.custom.conf
24+
```
25+
26+
Run health check:
27+
2028
```sh
2129
nix run nixpkgs#omnix -- health
2230
```

0 commit comments

Comments
 (0)