From 0643b2b9e3102e25cb4baac198dc2e5743581f30 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Thu, 7 Jul 2022 21:29:25 +0200 Subject: [PATCH] Fix joystickwake service --- home_manager/modules/joystickwake.nix | 1 + home_manager/thor.nix | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home_manager/modules/joystickwake.nix b/home_manager/modules/joystickwake.nix index 5cc1113..e25b20c 100644 --- a/home_manager/modules/joystickwake.nix +++ b/home_manager/modules/joystickwake.nix @@ -15,6 +15,7 @@ in Service = { Type = "simple"; ExecStart = joystickwakeCmd; + Environment = [ "DISPLAY=:0" ]; }; }; } diff --git a/home_manager/thor.nix b/home_manager/thor.nix index 1ac3148..974755b 100644 --- a/home_manager/thor.nix +++ b/home_manager/thor.nix @@ -103,7 +103,7 @@ # ./modules/grobi.nix ./modules/gtk_theme.nix ./modules/helix.nix - # ./modules/joystickwake.nix + ./modules/joystickwake.nix ./modules/kakoune.nix # ./modules/keepassxc.nix ./modules/kitty.nix