doc: add links for overrides / tweaks
This commit is contained in:
parent
fa4c4a01d4
commit
55b5e58c23
@ -53,6 +53,7 @@ in with lib; {
|
|||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/213593
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"electron-18.1.0" # obsidian
|
"electron-18.1.0" # obsidian
|
||||||
];
|
];
|
||||||
|
@ -22,6 +22,36 @@ let
|
|||||||
in {
|
in {
|
||||||
nixpkgs.overlays = if isUnstable then [
|
nixpkgs.overlays = if isUnstable then [
|
||||||
tailscale
|
tailscale
|
||||||
|
|
||||||
|
# https://github.com/NixOS/nixpkgs/pull/213613
|
||||||
|
(self: super: {
|
||||||
|
tidal-hifi = super.tidal-hifi.overrideAttrs (old: rec {
|
||||||
|
version = "4.4.0";
|
||||||
|
|
||||||
|
src = super.fetchurl {
|
||||||
|
url =
|
||||||
|
"https://github.com/Mastermindzh/tidal-hifi/releases/download/${version}/tidal-hifi_${version}_amd64.deb";
|
||||||
|
sha256 = "sha256-6KlcxBV/zHN+ZnvIu1PcKNeS0u7LqhDqAjbXawT5Vv8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
makeWrapper $out/opt/tidal-hifi/tidal-hifi $out/bin/tidal-hifi \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${
|
||||||
|
lib.makeLibraryPath old.buildInputs
|
||||||
|
}" \
|
||||||
|
"''${gappsWrapperArgs[@]}"
|
||||||
|
substituteInPlace $out/share/applications/tidal-hifi.desktop \
|
||||||
|
--replace "/opt/tidal-hifi/tidal-hifi" "tidal-hifi"
|
||||||
|
|
||||||
|
for size in 48 64 128 256 512; do
|
||||||
|
mkdir -p $out/share/icons/hicolor/''${size}x''${size}/apps/
|
||||||
|
convert $out/share/icons/hicolor/0x0/apps/tidal-hifi.png \
|
||||||
|
-resize ''${size}x''${size} $out/share/icons/hicolor/''${size}x''${size}/apps/icon.png
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
|
});
|
||||||
|
})
|
||||||
(self: super: {
|
(self: super: {
|
||||||
rex = super.rex.overrideAttrs (old: {
|
rex = super.rex.overrideAttrs (old: {
|
||||||
patches = [
|
patches = [
|
||||||
|
Loading…
Reference in New Issue
Block a user