about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/profpatsch/base-workstation.nix11
-rw-r--r--machines/profpatsch/katara.nix26
2 files changed, 19 insertions, 18 deletions
diff --git a/machines/profpatsch/base-workstation.nix b/machines/profpatsch/base-workstation.nix
index 9e322060..5812d9ca 100644
--- a/machines/profpatsch/base-workstation.nix
+++ b/machines/profpatsch/base-workstation.nix
@@ -64,6 +64,17 @@ in {
     # bounded journal size
     services.journald.extraConfig = "SystemMaxUse=50M";
 
+    services.xserver = {
+      # otherwise xterm is enabled, creating an xterm that spawns the window manager.
+      desktopManager.xterm.enable = false;
+
+      windowManager.xmonad = {
+        enable = true;
+        enableContribAndExtras = true;
+      };
+    };
+
+
     # services.xserver = {
       # libinput = {
       #   enable = true;
diff --git a/machines/profpatsch/katara.nix b/machines/profpatsch/katara.nix
index d798a6c8..1f0f1e3d 100644
--- a/machines/profpatsch/katara.nix
+++ b/machines/profpatsch/katara.nix
@@ -33,6 +33,10 @@ in {
       fsType = "ext3";
     };
 
+    hardware.trackpoint = {
+      speed = 280;
+    };
+
     hardware.pulseaudio = {
       enable = true;
       zeroconf.discovery.enable = true;
@@ -106,7 +110,6 @@ in {
         libnotify         # notification library
         xclip             # clipboard thingy
         xorg.xkill        # X11 application kill
-        # TODO get service to work (requires user dbus)
       ];
       guiPkgs = [
         gnome3.adwaita-icon-theme
@@ -251,10 +254,12 @@ in {
         Option "SuspendTime" "20"
         Option "OffTime" "30"
       '';
+
       synaptics = {
         enable = true;
-        minSpeed = "0.5";
-        accelFactor = "0.01";
+        minSpeed = "0.6";
+        maxSpeed = "1.5";
+        accelFactor = "0.015";
         twoFingerScroll = true;
         vertEdgeScroll = false;
       };
@@ -262,25 +267,10 @@ in {
 
       videoDrivers = [ "intel" ];
 
-      # otherwise xterm is enabled, creating an xterm that spawns the window manager.
-      desktopManager.xterm.enable = false;
-
-      windowManager.xmonad = {
-        enable = true;
-        enableContribAndExtras = true;
-      };
-
-      # autorepeat = {
-      #   enable = true;
-      #   delay = 250;
-      #   rate = 35;
-      # };
-
       displayManager = {
         sessionCommands = with pkgs; ''
             #TODO add as nixpkg
             export PATH+=":$HOME/scripts" #add utility scripts
-            export PATH+=":$HOME/.bin" #add (temporary) executables
             export EDITOR=emacsclient
 
             ${xorg.xset}/bin/xset r rate 250 35