mirror of
https://github.com/Username404-59/Dotfiles-NixOS.git
synced 2026-07-03 12:58:07 +02:00
Add discard to rootfs options + a note for f2fs
This commit is contained in:
parent
e61866900c
commit
5deccae79d
@ -55,7 +55,9 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
fileSystems."/".options = [ "noatime" ];
|
||||
fileSystems."/".options = [ "noatime" "discard" ];
|
||||
# Note: for f2fs, create it with "sudo fsck.f2fs -O extra_attr,flexible_inline_xattr,inode_checksum,sb_checksum,compression,lost_found /dev/sdxY"
|
||||
# & add "noatime,discard" (done here) and "compress_algorithm=lzo-rle,compress_chksum,atgc,gc_merge,checkpoint=enable,checkpoint_merge,fsync_mode=posix,nat_bits" to mount options
|
||||
|
||||
networking.hostName = if !isLaptop then "lizard" else "lizard-portable";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user