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-06-13 22:27:54 -04:00
|
|
|
} @ inputs: let
|
|
|
|
inherit (import ../lib.nix inputs) mkVersion;
|
|
|
|
in {
|
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 {
|
2024-06-13 22:27:54 -04:00
|
|
|
pname = "libratbag";
|
|
|
|
version = mkVersion libratbag-src;
|
2024-05-01 10:21:28 -04:00
|
|
|
src = libratbag-src;
|
2024-04-20 13:42:51 -04:00
|
|
|
};
|
|
|
|
};
|
2024-05-01 10:21:28 -04:00
|
|
|
|
2024-05-05 23:07:06 -04:00
|
|
|
environment.systemPackages = [
|
|
|
|
(pkgs.piper.overrideAttrs {
|
2024-06-13 22:27:54 -04:00
|
|
|
pname = "piper";
|
|
|
|
version = mkVersion piper-src;
|
2024-05-01 10:21:28 -04:00
|
|
|
src = piper-src;
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Druntime-dependency-checks=false"
|
|
|
|
];
|
|
|
|
})
|
|
|
|
];
|
2024-04-20 13:42:51 -04:00
|
|
|
}
|