nixos/spacenavd: add wantedBy for automatic startup (#366768)

authored by

Arne Keller and committed by
GitHub
2ce30147 3b54ebcb

+4 -1
+4 -1
nixos/modules/services/hardware/spacenavd.nix
··· 17 17 config = lib.mkIf cfg.enable { 18 18 systemd = { 19 19 packages = [ pkgs.spacenavd ]; 20 - services.spacenavd.enable = true; 20 + services.spacenavd = { 21 + enable = true; 22 + wantedBy = [ "graphical.target" ]; 23 + }; 21 24 }; 22 25 }; 23 26 }