nixos-configs/modules/ratbag-mice.nix
matt1432 b3b65c1bd9
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(flake): move stuff in flake dir
2024-07-21 16:10:13 -04:00

30 lines
541 B
Nix

{
libratbag-src,
pkgs,
piper-src,
...
}: let
inherit (import ../flake/lib.nix {}) mkVersion;
in {
services.ratbagd = {
enable = true;
package = pkgs.libratbag.overrideAttrs {
pname = "libratbag";
version = mkVersion libratbag-src;
src = libratbag-src;
};
};
environment.systemPackages = [
(pkgs.piper.overrideAttrs {
pname = "piper";
version = mkVersion piper-src;
src = piper-src;
mesonFlags = [
"-Druntime-dependency-checks=false"
];
})
];
}