summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-10-16 19:43:36 +0200
committerAlan Pearce2019-10-16 19:43:36 +0200
commite7ee14c9b2d22379e43e3ab781b8fd9f519dcd16 (patch)
treec468e5d02c6deaa53a7d2f93361e274ec77656d7 /system/settings
parent4de959a979b253ecc846b01330b407468e9bedc0 (diff)
downloadnixfiles-e7ee14c9b2d22379e43e3ab781b8fd9f519dcd16.tar.lz
nixfiles-e7ee14c9b2d22379e43e3ab781b8fd9f519dcd16.tar.zst
nixfiles-e7ee14c9b2d22379e43e3ab781b8fd9f519dcd16.zip
Remove configuration for marvin
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/hardware/synaptics.nix27
-rw-r--r--system/settings/machines/x250.nix33
2 files changed, 0 insertions, 60 deletions
diff --git a/system/settings/hardware/synaptics.nix b/system/settings/hardware/synaptics.nix
deleted file mode 100644
index 9f075cce..00000000
--- a/system/settings/hardware/synaptics.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ config, pkgs, ... }:
-
-{ services.xserver = {
-    libinput.enable = false;
-    synaptics = {
-      enable = true;
-
-      accelFactor = "0.04";
-
-      minSpeed = "0.3";
-      maxSpeed = "0.6";
-
-      palmDetect = true;
-      palmMinWidth = 5;
-      palmMinZ = 20;
-
-      twoFingerScroll = true;
-      vertTwoFingerScroll = true;
-      horizTwoFingerScroll = true;
-      additionalOptions = ''
-        Option "RBCornerButton" "3"
-        Option "VertScrollDelta" "-111"
-        Option "HorizScrollDelta" "-111"
-      '';
-    };
-  };
-}
diff --git a/system/settings/machines/x250.nix b/system/settings/machines/x250.nix
deleted file mode 100644
index 0e8ac04e..00000000
--- a/system/settings/machines/x250.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ config, pkgs, ... }:
-
-{ boot.extraModulePackages = with config.boot.kernelPackages; [
-    acpi_call
-  ];
-
-  hardware.firmware = with pkgs; [
-    firmwareLinuxNonfree
-  ];
-
-  services.tlp.extraConfig = ''
-    # Newer Thinkpads have a battery firmware
-    # it conflicts with TLP if stop thresholds are set
-    START_CHARGE_THRESH_BAT0=70
-    # STOP_CHARGE_THRESH_BAT0=80
-    START_CHARGE_THRESH_BAT1=70
-    # STOP_CHARGE_THRESH_BAT1=80
-
-    DISK_APM_LEVEL_ON_AC="254 254"
-    DISK_APM_LEVEL_ON_BAT="128 128"
-
-    # One or both of these lines stops disk corruption
-    # when re-attaching to AC whilst on.
-    SATA_LINKPWR_ON_BAT=medium_power
-    SATA_LINKPWR_BLACKLIST="host1"
-  '';
-
-  imports = [
-    ../hardware/synaptics.nix
-    ../hardware/intel-gpu.nix
-    ../hardware/thinkpad.nix
-  ];
-}