diff options
Diffstat (limited to 'builds.sr.ht')
-rw-r--r-- | builds.sr.ht/compatibility.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/builds.sr.ht/compatibility.md b/builds.sr.ht/compatibility.md index 0c443a6..9dd94f4 100644 --- a/builds.sr.ht/compatibility.md +++ b/builds.sr.ht/compatibility.md @@ -860,6 +860,19 @@ However, like in a fresh NixOS installation, there is a root channel named which is the channel the image was built from. +**flakes** + +Like in a standard Nix(OS) installation, flakes are not enabled by default. +A good way to use flakes without having to pass `--extra-experimental-features` +to every `nix` invocation is to use the +[`NIX_CONFIG`](https://nixos.org/manual/nix/stable/command-ref/env-common.html#env-NIX_CONFIG) +environment variable instead: + +```yaml +environment: + NIX_CONFIG: "experimental-features = nix-command flakes" +``` + ## OpenBSD Maintainer: Jarkko Oranen <oranenj@iki.fi> |