about summary refs log tree commit diff
path: root/nixos/modules/services/ttys/gpm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/ttys/gpm.nix')
-rw-r--r--nixos/modules/services/ttys/gpm.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/ttys/gpm.nix b/nixos/modules/services/ttys/gpm.nix
index 03b0f39824d0..1c0fcf8f16c7 100644
--- a/nixos/modules/services/ttys/gpm.nix
+++ b/nixos/modules/services/ttys/gpm.nix
@@ -44,7 +44,7 @@ in
       { description = "Console Mouse Daemon";
 
         wantedBy = [ "multi-user.target" ];
-        requires = [ "getty.target" ];
+        requires = [ "dev-input-mice.device" ];
 
         serviceConfig.ExecStart = "@${pkgs.gpm}/sbin/gpm gpm -m /dev/input/mice -t ${cfg.protocol}";
         serviceConfig.Type = "forking";