From f20695084ed681adecb9fbfa459ffb46591812f2 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 12 Mar 2021 20:12:04 +0100 Subject: ma tsp.r: refactor --- makefu/1systems/tsp/config.nix | 11 ++++++++--- makefu/1systems/tsp/hardware.nix | 9 +++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 makefu/1systems/tsp/hardware.nix (limited to 'makefu/1systems') diff --git a/makefu/1systems/tsp/config.nix b/makefu/1systems/tsp/config.nix index 7c65737f7..9586578d3 100644 --- a/makefu/1systems/tsp/config.nix +++ b/makefu/1systems/tsp/config.nix @@ -6,21 +6,26 @@ { imports = [ # Include the results of the hardware scan. + ./hardware.nix + + + # # hardware specifics are in here - # imports tp-x2x0.nix - + # - + + + diff --git a/makefu/1systems/tsp/hardware.nix b/makefu/1systems/tsp/hardware.nix new file mode 100644 index 000000000..2788eae04 --- /dev/null +++ b/makefu/1systems/tsp/hardware.nix @@ -0,0 +1,9 @@ +{ lib, ... }: +{ + imports = [ + # laptop is an acer aspire, but close enough i'd say + + ]; + # the laptop only has the touchpad + services.xserver.synaptics.additionalOptions = lib.mkForce ''Option "TouchpadOff" "0"''; +} -- cgit v1.2.3