2024-04-20 13:42:51 -04:00
|
|
|
{
|
2024-05-01 10:21:28 -04:00
|
|
|
libratbag-src,
|
2024-04-24 17:44:08 -04:00
|
|
|
pkgs,
|
2024-05-01 10:21:28 -04:00
|
|
|
piper-src,
|
2024-04-20 13:42:51 -04:00
|
|
|
...
|
2024-05-01 10:21:28 -04:00
|
|
|
}: {
|
|
|
|
services.ratbagd = {
|
|
|
|
enable = true;
|
2024-04-20 13:42:51 -04:00
|
|
|
|
2024-05-01 10:21:28 -04:00
|
|
|
package = pkgs.libratbag.overrideAttrs {
|
|
|
|
version = libratbag-src.shortRev;
|
|
|
|
src = libratbag-src;
|
2024-04-20 13:42:51 -04:00
|
|
|
};
|
|
|
|
};
|
2024-05-01 10:21:28 -04:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
(piper.overrideAttrs {
|
|
|
|
name = "piper-${piper-src.shortRev}";
|
|
|
|
src = piper-src;
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Druntime-dependency-checks=false"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
2024-04-20 13:42:51 -04:00
|
|
|
}
|