2015-05-21 13:27:06 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
2015-05-21 14:13:47 +00:00
|
|
|
[
|
|
|
|
./common.nix
|
|
|
|
./uefi.nix
|
2015-05-21 13:27:06 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.initrd.luks.devices = [ { name = "sda2_crypt"; device = "/dev/disk/by-uuid/a7482f34-1d7b-4181-9f3c-f6bbbdb8679d"; preLVM = true; } ];
|
|
|
|
|
|
|
|
# workaround until trackpad is supported properly
|
|
|
|
boot.extraModprobeConfig = ''
|
|
|
|
options psmouse proto=imps
|
|
|
|
'';
|
|
|
|
|
|
|
|
hardware.trackpoint = {
|
|
|
|
enable = true;
|
|
|
|
# emulateWheel = true;
|
|
|
|
};
|
|
|
|
services.xserver.config =
|
|
|
|
''
|
|
|
|
Section "InputClass"
|
|
|
|
Identifier "Trackpoint Wheel Emulation"
|
|
|
|
MatchProduct "PS/2 Synaptics TouchPad"
|
|
|
|
MatchDevicePath "/dev/input/event*"
|
|
|
|
Option "EmulateWheel" "true"
|
|
|
|
Option "EmulateWheelButton" "2"
|
|
|
|
Option "Emulate3Buttons" "false"
|
|
|
|
Option "XAxisMapping" "6 7"
|
|
|
|
Option "YAxisMapping" "4 5"
|
|
|
|
EndSection
|
|
|
|
'';
|
|
|
|
|
|
|
|
services.tlp.enable = true;
|
|
|
|
|
|
|
|
networking.hostName = "theba"; # Define your hostname.
|
|
|
|
networking.hostId = "b29b900f";
|
|
|
|
|
2015-07-12 13:34:34 +00:00
|
|
|
# services.colord.enable = true;
|
2015-06-03 11:14:03 +00:00
|
|
|
|
2015-07-26 14:09:32 +00:00
|
|
|
systemd.services.ModemManager.enable = true;
|
|
|
|
|
2015-05-21 13:27:06 +00:00
|
|
|
}
|