nixos-configs/modules/ratbag-mice.nix

31 lines
541 B
Nix
Raw Normal View History

2024-04-20 13:42:51 -04:00
{
libratbag-src,
2024-04-24 17:44:08 -04:00
pkgs,
piper-src,
2024-04-20 13:42:51 -04:00
...
}: let
inherit (import ../flake/lib.nix {}) mkVersion;
2024-06-13 22:27:54 -04:00
in {
services.ratbagd = {
enable = true;
2024-04-20 13:42:51 -04:00
package = pkgs.libratbag.overrideAttrs {
2024-06-13 22:27:54 -04:00
pname = "libratbag";
version = mkVersion libratbag-src;
src = libratbag-src;
2024-04-20 13:42:51 -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;
src = piper-src;
mesonFlags = [
"-Druntime-dependency-checks=false"
];
})
];
2024-04-20 13:42:51 -04:00
}