cranberry: Some adjustments

This commit is contained in:
Geoffrey Frogeye 2024-12-04 19:03:49 +01:00
parent 8c45c1989c
commit bd8e6d9fdc
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8

View file

@ -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