diff options
Diffstat (limited to 'machines/profpatsch')
-rw-r--r-- | machines/profpatsch/base-workstation.nix | 5 | ||||
-rw-r--r-- | machines/profpatsch/shiki.nix | 1 | ||||
-rw-r--r-- | machines/profpatsch/thinkpad.nix | 11 |
3 files changed, 13 insertions, 4 deletions
diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix index d8deeb62..300e7650 100644 --- a/machines/profpatsch/base-workstation.nix +++ b/machines/profpatsch/base-workstation.nix @@ -1,4 +1,4 @@ -# A base configuration for Thinkpads. +# A base configuration for my workstations. { pkgs, lib, ... }: let myPkgs = import ./pkgs.nix { inherit pkgs lib myLib; }; @@ -31,9 +31,6 @@ in { keyMap = "neo"; }; - # Enables drivers, acpi, power management - vuizvui.hardware.thinkpad.enable = true; - # the kernel OOM is not good enough without swap, # and I don’t like swap. This kills the most hoggy # processes when the system goes under a free space limit diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix index 4b9f824b..6a7b8d24 100644 --- a/machines/profpatsch/shiki.nix +++ b/machines/profpatsch/shiki.nix @@ -27,6 +27,7 @@ in { imports = [ ./base-workstation.nix + ./thinkpad.nix # ./possehl-specific-do-not-check-in.nix ]; 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; + }; +} |