mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 21:08:08 +02:00
Enable encryption support in f2fs
This commit is contained in:
parent
ffa9bd8c07
commit
14c15d0d07
@ -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 [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user