diff options
author | Profpatsch <mail@profpatsch.de> | 2022-06-27 01:16:09 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-06-27 01:16:09 +0200 |
commit | 53e01dbc325e7d58a25a9746be85f6f45f048cbd (patch) | |
tree | 7d166ecf1c71e85aac53011b2079499297c9e8fd /machines/profpatsch/thinkpad.nix | |
parent | af1a9bf3395e068a3a6fcd3f1e7ef0f7f42e86ff (diff) |
machines/profpatsch: move thinkpad boot options to thinkpad.nix
Not sure about the boot loader config, but I guess it’s okay for now, since it doesn’t diverge anyway.
Diffstat (limited to 'machines/profpatsch/thinkpad.nix')
-rw-r--r-- | machines/profpatsch/thinkpad.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/profpatsch/thinkpad.nix b/machines/profpatsch/thinkpad.nix index 4e9cf4f1..33475ed2 100644 --- a/machines/profpatsch/thinkpad.nix +++ b/machines/profpatsch/thinkpad.nix @@ -5,6 +5,10 @@ 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; |