From e6d4a62c2b387ca8f3ad86925d053935d0a38675 Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 9 Jan 2013 22:36:44 +0100 Subject: 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 --- machines/mmrnmhrm.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'machines/mmrnmhrm.nix') 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}" + ''; }; } -- cgit 1.4.1