nix-configs/modules/desktop/specific-hardware/spacenav.nix

12 lines
228 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
spacenavd
libspnav
];
systemd.services.spacenavd = {
wantedBy = [ "graphical.target" ];
script = "${pkgs.spacenavd}/bin/spacenavd -d";
};
}