From 7f58dcefa57e8777a8e4b92490368e5f64e78362 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Mon, 22 Jun 2026 16:02:40 +0200 Subject: [PATCH] Bigger f2fs comment --- local.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/local.nix b/local.nix index 1d4d6f7..c7cc52a 100644 --- a/local.nix +++ b/local.nix @@ -57,7 +57,20 @@ in 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 + /* And add these to mount options in hardware-configuration.nix + options = [ + "compress_algorithm=lzo-rle" + "compress_extension=*" + "nocompress_extension=avif,bmp,gif,heic,heif,ico,jpe,jpeg,jpg,png,svg,tif,tiff,webp,3gp,avi,flv,m4v,mkv,mov,mp4,mpeg,mpg,webm,wmv,aac,flac,m4a,mid,midi,mp3,ogg,opus,wav,wma,7z,bz2,gz,rar,tar,tgz,xz,zip,zst,docx,odt,odp,ods,pptx,xlsx,pdf,db,gpg,key,p12,pem,sqlite,sqlite3,enc,aab,apk,appimage,bin,deb,dll,elf,exe,jar,so,rpm,img,iso,qcow2,vdi,vhd,vmdk,otf,ttf,class,dump,log,swp,tmp,bak,cache,part,old,new,core" + "compress_chksum" + "atgc" + "gc_merge" + "checkpoint=enable", + "checkpoint_merge" + "fsync_mode=posix" + "nat_bits" + ]; + */ networking.hostName = if !isLaptop then "lizard" else "lizard-portable"; }