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-24 11:38:30 -04:00
|
|
|
}: let
|
2024-07-21 16:10:13 -04:00
|
|
|
inherit (import ../flake/lib.nix {}) mkVersion;
|
2024-06-13 22:27:54 -04:00
|
|
|
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
|
|
|
}
|