diff --git a/modules/filesystems.nix b/modules/filesystems.nix index cf47557..1a33d05 100644 --- a/modules/filesystems.nix +++ b/modules/filesystems.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { - # Note: for f2fs, create it with "sudo fsck.f2fs -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY" + # Note: for f2fs, create it with "sudo mkfs.f2fs -i -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY" fileSystems."/".options = lib.mkIf (config.fileSystems."/".fsType == "f2fs") (lib.mkAfter [ "discard" # Better (on f2fs) than fstrim