Bcachefs: Difference between revisions

imported>Onny
mNo edit summary
imported>Onny
mNo edit summary
Line 58: Line 58:
# 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>
Continue the installation as usual following the [https://nixos.org/manual/nixos/stable/index.html#ch-installation instructions of the NixOS manual]. Replace the part where the root filesystem gets formatted and mounted with one of the following two commands:
<syntaxhighlight lang="console">
# mkfs.bcachefs -L nixos /dev/sda1
# mount -t bcachefs /dev/sda1 /mnt
</syntaxhighlight>
Where <code>/dev/sda1</code> is the root filesystem partition created for the NixOS installation. Be carefull using the <code>mkfs.bcachefs</code> command, it will erase all data on the given partition.


[[Category:Filesystem]]
[[Category:Filesystem]]