about summary refs log tree commit diff
path: root/machines/profpatsch/thinkpad.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2022-06-26 19:05:48 +0200
committerProfpatsch <mail@profpatsch.de>2022-06-26 19:05:48 +0200
commit598149799fb572d4a57b743cea9962a9d3d67680 (patch)
treef243ab6c7dac6708d96958b6ab85192ed7572ec8 /machines/profpatsch/thinkpad.nix
parent28f725ae0a3cab8e6cffeb0ea9fcec2737a1772d (diff)
machines/Profpatsch: Move thinkpad config into separate module
I want to have a thinkpad-based server, which will need the
thinkpad-specific stuff but none of the workstation stuff.
Diffstat (limited to 'machines/profpatsch/thinkpad.nix')
-rw-r--r--machines/profpatsch/thinkpad.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/machines/profpatsch/thinkpad.nix b/machines/profpatsch/thinkpad.nix
new file mode 100644
index 00000000..f8baf806
--- /dev/null
+++ b/machines/profpatsch/thinkpad.nix
@@ -0,0 +1,11 @@
+# hardware-specific configuration for Profpatsch’s thinkpads.
+{ lib, config, pkgs, ... }:
+
+{
+  imports = [];
+
+  config = {
+    # Enables drivers, acpi, power management
+    vuizvui.hardware.thinkpad.enable = true;
+  };
+}