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