Files
nix-stuff/hosts/compute-deck/padtype.nix
2025-08-22 13:27:12 -07:00

23 lines
445 B
Nix

{ inputs, ... }:
let
padtype-pkg = inputs.padtype.packages."x86_64-linux".default;
in
{
environment.systemPackages = [ padtype-pkg ];
systemd.services."padtype" = {
wantedBy = [ "multi-user.target" ];
script = "${padtype-pkg}/bin/padtype";
};
boot.initrd.preLVMCommands = "${padtype-pkg}/bin/padtype &";
boot.initrd.kernelModules = [
"uhid"
"i2c_hid_acpi"
"usbhid"
"mac_hid"
"evdev"
"uinput"
];
}