nixos-configs/modules/ratbag-mice.nix
matt1432 d17a69372a
All checks were successful
Discord / discord commits (push) Has been skipped
refactor(pkgs): improve versioning
2024-06-13 22:27:54 -04:00

30 lines
548 B
Nix

{
libratbag-src,
pkgs,
piper-src,
...
} @ inputs: let
inherit (import ../lib.nix inputs) 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"
];
})
];
}