Btrfs: Difference between revisions

imported>Vixea
when creating subvolumes the corrrect path is /mnt/@
imported>Vixea
when creating subvolumes the corrrect path is /mnt/@ you need to specify the -root
Line 43: Line 43:
== Compression ==  
== Compression ==  


<code>nixos-generate-config --show-hardware-config</code> doesn't detect mount options automatically, so to enable compression, you must specify it and other mount options in a persistent configuration:
<code>nixos-generate-config --show-hardware-config --root /mnt/@</code> doesn't detect mount options automatically, so to enable compression, you must specify it and other mount options in a persistent configuration:


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">