mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-23 15:10:33 +01:00
23 lines
485 B
Nix
23 lines
485 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
alsa-ucm-conf,
|
|
}: (alsa-ucm-conf.overrideAttrs (oldAttrs: rec {
|
|
version = "5";
|
|
|
|
src_asahi = fetchFromGitHub {
|
|
# tracking: https://src.fedoraproject.org/rpms/alsa-ucm-asahi
|
|
owner = "AsahiLinux";
|
|
repo = "alsa-ucm-conf-asahi";
|
|
rev = "v${version}";
|
|
hash = "sha256-daUNz5oUrPfSMO0Tqq/WbtiLHMOtPeQQlI+juGrhTxw=";
|
|
};
|
|
|
|
postInstall =
|
|
oldAttrs.postInstall
|
|
or ""
|
|
+ ''
|
|
cp -r ${src_asahi}/ucm2 $out/share/alsa
|
|
'';
|
|
}))
|