From 14c15d0d073670b250e8bd182fe0aec54b475556 Mon Sep 17 00:00:00 2001 From: Username404-59 <53659497+Username404-59@users.noreply.github.com> Date: Fri, 3 Jul 2026 14:19:40 +0200 Subject: [PATCH] Enable encryption support in f2fs --- modules/filesystems.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/filesystems.nix b/modules/filesystems.nix index 3b36fcb..bbcf51c 100644 --- a/modules/filesystems.nix +++ b/modules/filesystems.nix @@ -1,7 +1,7 @@ { config, lib, ... }: { - # Note: for f2fs, create it with "sudo mkfs.f2fs -l root -i -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY" + # Note: for f2fs, create it with "sudo mkfs.f2fs -l root -i -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,encrypt,lost_found /dev/sdxY" fileSystems."/".options = lib.mkMerge [ [ "noatime" ] (lib.mkIf (config.fileSystems."/".fsType == "f2fs") (lib.mkAfter [