nixos/spacenavd: add wantedBy for automatic startup

nixos currently does not respect the WantedBy directive from
the upstream service file (https://github.com/NixOS/nixpkgs/issues/81138)

sohalt fc7aea93 23f98b65

Changed files
+4 -1
nixos
modules
services
hardware
+4 -1
nixos/modules/services/hardware/spacenavd.nix
···
config = lib.mkIf cfg.enable {
systemd = {
packages = [ pkgs.spacenavd ];
-
services.spacenavd.enable = true;
+
services.spacenavd = {
+
enable = true;
+
wantedBy = [ "graphical.target" ];
+
};
};
};
}