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

12 lines
241 B
Nix
Raw Normal View History

2023-03-20 22:40:08 +00:00
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
spacenavd
libspnav
];
systemd.services.spacenavd = {
wantedBy = [ "graphical.target" ];
script = "${pkgs.spacenavd}/bin/spacenavd -d";
};
}