Merge pull request 'f2fs: enable compression' (#2152) from f2fs into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2152
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725377834,
|
"lastModified": 1726842196,
|
||||||
"narHash": "sha256-tqoAO8oT6zEUDXte98cvA1saU9+1dLJQe3pMKLXv8ps=",
|
"narHash": "sha256-u9h03JQUuQJ607xmti9F9Eh6E96kKUAGP+aXWgwm70o=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "e55f9a8678adc02024a4877c2a403e3f6daf24fe",
|
"rev": "51994df8ba24d5db5459ccf17b6494643301ad28",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -49,6 +49,14 @@ let
|
|||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "f2fs";
|
format = "f2fs";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
|
extraArgs = [
|
||||||
|
"-O"
|
||||||
|
"extra_attr,inode_checksum,sb_checksum,compression"
|
||||||
|
];
|
||||||
|
# Recommendations for flash: https://wiki.archlinux.org/title/F2FS#Recommended_mount_options
|
||||||
|
mountOptions = [
|
||||||
|
"compress_algorithm=zstd:6,compress_chksum,atgc,gc_merge,lazytime,nodiscard"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -69,4 +77,7 @@ in
|
|||||||
boot.loader.grub.enable = lib.mkDefault true;
|
boot.loader.grub.enable = lib.mkDefault true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flake.checks.x86_64-linux.flash-installer-disk-test =
|
||||||
|
self.nixosConfigurations.flash-installer.config.system.build.installTest;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user