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

11 lines
241 B
Nix

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