1 { config, lib, pkgs, ... }:
2 let cfg = config.hardware.spacenavd;
8 enable = lib.mkEnableOption "spacenavd to support 3DConnexion devices";
12 config = lib.mkIf cfg.enable {
13 systemd.user.services.spacenavd = {
14 description = "Daemon for the Spacenavigator 6DOF mice by 3Dconnexion";
15 wantedBy = [ "graphical.target" ];
17 ExecStart = "${pkgs.spacenavd}/bin/spacenavd -d -l syslog";