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 config = lib.mkIf cfg.enable { 18 systemd = { 19 packages = [ pkgs.spacenavd ]; 20 - services.spacenavd.enable = true; 21 }; 22 }; 23 }
··· 17 config = lib.mkIf cfg.enable { 18 systemd = { 19 packages = [ pkgs.spacenavd ]; 20 + services.spacenavd = { 21 + enable = true; 22 + wantedBy = [ "graphical.target" ]; 23 + }; 24 }; 25 }; 26 }