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

12 lines
241 B
Nix
Raw Normal View History

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