From bd8e6d9fdc34da72db1efe9d317ca5a9d79b04a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Wed, 4 Dec 2024 19:03:49 +0100 Subject: [PATCH] cranberry: Some adjustments --- cranberry/hardware.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cranberry/hardware.nix b/cranberry/hardware.nix index 28c0977..d311a36 100644 --- a/cranberry/hardware.nix +++ b/cranberry/hardware.nix @@ -17,6 +17,9 @@ "sdhci_pci" ]; kernelModules = [ "kvm-amd" ]; + # Times tpm2.target times out waiting for /dev/tpmrm0, + # it's fine after unlocking though + initrd.systemd.tpm2.enable = false; }; # Needed for Wi-Fi @@ -49,6 +52,9 @@ xsession.windowManager.i3.config.modifier = "Mod1"; }; + # 8 makes it run out of memory when rebuilding. + nix.settings.max-jobs = 1; + }; imports = [ nixos-hardware.nixosModules.common-cpu-amd