1 { config, lib, pkgs, ... }:
5 let cfg = config.hardware.spacenavd;
10 hardware.spacenavd = {
11 enable = mkEnableOption (lib.mdDoc "spacenavd to support 3DConnexion devices");
15 config = mkIf cfg.enable {
16 systemd.user.services.spacenavd = {
17 description = "Daemon for the Spacenavigator 6DOF mice by 3Dconnexion";
18 wantedBy = [ "graphical.target" ];
20 ExecStart = "${pkgs.spacenavd}/bin/spacenavd -d -l syslog";