From 956ad0a275e7d2f5813e23b8c7ec5cb0bdce9161 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 20 Oct 2013 18:50:26 +0200 Subject: Use synergy module instead of sessionCommands. Haven't noticed that we already have a service module for synergy, so let's use it instead of just executing the client/server on X session initialization. Signed-off-by: aszlig --- machines/dnyarri.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'machines/dnyarri.nix') diff --git a/machines/dnyarri.nix b/machines/dnyarri.nix index 254ba557..a2f5001a 100644 --- a/machines/dnyarri.nix +++ b/machines/dnyarri.nix @@ -125,13 +125,12 @@ with import ../lib; # should there be another user accessing the audio devices. users.extraUsers.aszlig.extraGroups = [ "audio" ]; + services.synergy.client.enable = true; + services.synergy.client.serverAddress = "mmrnmhrm"; + services.xserver = { videoDrivers = [ "ati" ]; xrandrHeads = [ "HDMI-0" "DVI-0" ]; - - displayManager.sessionCommands = '' - ${pkgs.synergy}/bin/synergyc mmrnmhrm - ''; }; } -- cgit 1.4.1