changes to io
This commit is contained in:
parent
f2646e891d
commit
7e466f8eaa
5 changed files with 34 additions and 33 deletions
|
|
@ -79,26 +79,26 @@
|
|||
};
|
||||
};
|
||||
|
||||
nixpkgs.overlays = with pkgs;
|
||||
[
|
||||
(final: prev: {
|
||||
alsa-ucm-conf = prev.alsa-ucm-conf.overrideAttrs (old: {
|
||||
wttsrc = (fetchFromGitHub {
|
||||
owner = "WeirdTreeThing";
|
||||
repo = "chromebook-ucm-conf";
|
||||
rev = "484f5c581ac45c4ee6cfaf62bdecedfa44353424";
|
||||
hash = "sha256-Jal+VfxrPSAPg9ZR+e3QCy4jgSWT4sSShxICKTGJvAI=";
|
||||
});
|
||||
# nixpkgs.overlays = with pkgs;
|
||||
# [
|
||||
# (final: prev: {
|
||||
# alsa-ucm-conf = prev.alsa-ucm-conf.overrideAttrs (old: {
|
||||
# wttsrc = (fetchFromGitHub {
|
||||
# owner = "WeirdTreeThing";
|
||||
# repo = "chromebook-ucm-conf";
|
||||
# rev = "484f5c581ac45c4ee6cfaf62bdecedfa44353424";
|
||||
# hash = "sha256-Jal+VfxrPSAPg9ZR+e3QCy4jgSWT4sSShxICKTGJvAI=";
|
||||
# });
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/share/alsa
|
||||
cp -r ucm ucm2 $out/share/alsa
|
||||
mkdir -p $out/share/alsa/ucm2/conf.d
|
||||
cp -r $wttsrc/{hdmi,dmic}-common $wttsrc/tgl/* $out/share/alsa/ucm2/conf.d
|
||||
runHook postInstall
|
||||
'';
|
||||
});
|
||||
})
|
||||
];
|
||||
# installPhase = ''
|
||||
# runHook preInstall
|
||||
# mkdir -p $out/share/alsa
|
||||
# cp -r ucm ucm2 $out/share/alsa
|
||||
# mkdir -p $out/share/alsa/ucm2/conf.d
|
||||
# cp -r $wttsrc/{hdmi,dmic}-common $wttsrc/tgl/* $out/share/alsa/ucm2/conf.d
|
||||
# runHook postInstall
|
||||
# '';
|
||||
# });
|
||||
# })
|
||||
# ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue