about summary refs log tree commit diff
path: root/machines/mmrnmhrm.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2013-01-09 22:36:44 +0100
committeraszlig <aszlig@redmoonstudios.org>2013-01-09 22:36:44 +0100
commite6d4a62c2b387ca8f3ad86925d053935d0a38675 (patch)
treedaf804e535aebabbaec4920a4604ee0c15297a15 /machines/mmrnmhrm.nix
parent8d4f7fd9b7f1fa36a48d1c6996015429b90b9edb (diff)
mmrnmhrm: Add synergy call and configuration.
So, now we no langer need to issue synergys by the window manager or in the
shell, just log in and everything is set up :-)

Well, of course you should only do something like this in a trusted environment,
because this means, that mouse movements and keystrokes are sent unencrypted! Be
sure to set up a SSH tunnel or something similar if you're in a hostile
environment.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines/mmrnmhrm.nix')
-rw-r--r--machines/mmrnmhrm.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/mmrnmhrm.nix b/machines/mmrnmhrm.nix
index 21bef953..61600ef7 100644
--- a/machines/mmrnmhrm.nix
+++ b/machines/mmrnmhrm.nix
@@ -69,5 +69,9 @@ with pkgs.lib;
         Option      "RightOf"       "left monitor"
       EndSection
     '';
+
+    displayManager.sessionCommands = ''
+      ${pkgs.synergy}/bin/synergys -c "${../cfgfiles/synergy.conf}"
+    '';
   };
 }