nixconfigs/hosts/thinknix/default.nix
Trolli Schmittlauch 62e5c673c5 thinknix: disable broken tpm
tpm tpm0: A TPM error (714) occurred
attempting to create NULL primary
tpm tpm0: null key creation failed with
714
2025-05-20 23:54:35 +02:00

39 lines
1,005 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [
../../common
../../common/pulseaudio.nix
./hardware-configuration.nix
./storage.nix
./swap.nix
# FIXME: move this to common, conditional enabling
./secureboot.nix
];
hardware.trackpoint = {
enable = true;
sensitivity = 180;
speed = 180;
};
boot.extraModprobeConfig = "options thinkpad_acpi fan_control=1"; # enable fan control via echo to /proc/acpi/ibm/fan
schmittlauch.guestUser.enable = true;
networking.hostName = "thinknix";
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "18.09"; # Did you read the comment?
# since 25.05, this broke and started to slow down system startup. tpm is currently not utilised on this host, so simply disable.
security.tpm2.enable = false;
}