diff --git a/nixos/modules/services/hardware/spacenavd.nix b/nixos/modules/services/hardware/spacenavd.nix index db3ab37dc2677..ddc3f1dc1b590 100644 --- a/nixos/modules/services/hardware/spacenavd.nix +++ b/nixos/modules/services/hardware/spacenavd.nix @@ -17,7 +17,10 @@ in config = lib.mkIf cfg.enable { systemd = { packages = [ pkgs.spacenavd ]; - services.spacenavd.enable = true; + services.spacenavd = { + enable = true; + wantedBy = [ "graphical.target" ]; + }; }; }; }