From 6063d22fa51640a222a0f7bdce10e6eb83fb2fdc Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 5 May 2021 13:02:07 +0000 Subject: sys/atuin: don't use zstd kernel compression pvgrub2 doesn't support zstd yet. See . --- sys/atuin.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/atuin.nix b/sys/atuin.nix index ac9cdcabea1f..edf015471bb0 100644 --- a/sys/atuin.nix +++ b/sys/atuin.nix @@ -178,7 +178,13 @@ in iptables -t nat -A POSTROUTING -s10.100.0.0/24 -j MASQUERADE ''; - boot.kernelPackages = pkgs.linuxPackages; + boot.kernelPackages = with pkgs; linuxPackagesFor (linux.override { + structuredExtraConfig = with lib.kernel; { + KERNEL_XZ = yes; + KERNEL_ZSTD = lib.mkForce no; + }; + }); + boot.kernelParams = [ "zfs.zfs_arc_max=356515840" ]; networking.nat.enable = true; -- cgit 1.4.1