about summary refs log tree commit diff
path: root/machines/profpatsch/thinkpad.nix
blob: 33475ed2621a456811e9169fa163096b6fb29fd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# hardware-specific configuration for Profpatsch’s thinkpads.
{ lib, config, pkgs, ... }:

{
  imports = [];

  config = {
    boot.initrd.availableKernelModules = [ "uhci_hcd" "ehci_pci" "ahci" "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
    boot.loader.systemd-boot.enable = true;
    boot.loader.grub.enable = false;

    # Enables drivers, acpi, power management
    vuizvui.hardware.thinkpad.enable = true;

    vuizvui.services.upower.enable = lib.mkDefault true;
  };
}