Bcachefs: Difference between revisions
imported>Onny mNo edit summary |
imported>Onny mNo edit summary |
||
Line 36: | Line 36: | ||
=== Generate bcachefs enabled installation media === | === Generate bcachefs enabled installation media === | ||
Use following Nix expression to generate a ISO installation image with a bcachefs enabled kernel | Use following Nix expression <code>iso.nix</code> to generate a ISO installation image with a bcachefs enabled kernel | ||
<syntaxhighlight lang="console"> | |||
# This module defines a small NixOS installation CD. It does not | # This module defines a small NixOS installation CD. It does not | ||
# contain any graphical stuff. | # contain any graphical stuff. | ||
Line 53: | Line 53: | ||
isoImage.squashfsCompression = "gzip -Xcompression-level 1"; | isoImage.squashfsCompression = "gzip -Xcompression-level 1"; | ||
} | } | ||
</ | </syntaxhighlight> | ||
<syntaxhighlight lang="console"> | <syntaxhighlight lang="console"> | ||
# nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix | # nix-build '<nixpkgs/nixos>' -A config.system.build.isoImage -I nixos-config=iso.nix | ||
</syntaxhighlight> | </syntaxhighlight> |