From aeef08c9f996b0e50babedd18d2632fb3c603949 Mon Sep 17 00:00:00 2001 From: Martino Fontana Date: Sat, 26 Mar 2022 22:56:18 +0100 Subject: joystickwake: autostart --- pkgs/tools/games/joystickwake/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pkgs') diff --git a/pkgs/tools/games/joystickwake/default.nix b/pkgs/tools/games/joystickwake/default.nix index f8f962f6eef74..cd18b8b09df55 100644 --- a/pkgs/tools/games/joystickwake/default.nix +++ b/pkgs/tools/games/joystickwake/default.nix @@ -12,6 +12,11 @@ python3.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python3.pkgs; [ pyudev xlib ]; + postInstall = '' + # autostart file + ln -s $out/${python3.sitePackages}/etc $out/etc + ''; + meta = with lib; { description = "A joystick-aware screen waker"; longDescription = '' -- cgit 1.4.1