Bcachefs: Difference between revisions

imported>Onny
mNo edit summary
imported>0x4A6F
No edit summary
Line 38: Line 38:
Use following Nix expression to generate a ISO installation image with a bcachefs enabled kernel
Use following Nix expression to generate a ISO installation image with a bcachefs enabled kernel


{{file|iso.nix|nix|<nowiki>
<syntaxhighlight lang="nix">
# iso.nix
# 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 49: Line 50:
   isoImage.squashfsCompression = "gzip -Xcompression-level 1";
   isoImage.squashfsCompression = "gzip -Xcompression-level 1";
}
}
</nowiki>}}
</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>