Compare commits

...

2 commits

Author SHA1 Message Date
71382f6a4a
tsuki: use overlays.nix
All checks were successful
flake check / check (push) Successful in 10m55s
fmt check / check (push) Successful in 47s
2024-01-03 19:19:55 -05:00
0e822a8c9c
pkgs: add overlays.nix 2024-01-03 19:19:40 -05:00
2 changed files with 24 additions and 0 deletions

View file

@ -13,6 +13,7 @@
../../home/wayland
../../modules
../../modules/fonts.nix
../../pkgs/overlays.nix
];
boot.loader = {

23
pkgs/overlays.nix Normal file
View file

@ -0,0 +1,23 @@
{lib, ...}: {
nixpkgs = {
overlays = [
(final: prev: {
spotify-player = prev.spotify-player.overrideAttrs (old: rec {
pname = "spotify-player";
version = "0.16.3";
src = prev.fetchFromGitHub {
owner = "aome510";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-8naLLHAVGB8ow88XjU3BpnNzY3SFC2F5uYin67hMc0E=";
};
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
name = "spotify-player.tar.gz";
inherit src;
outputHash = "sha256-KiqQH356tOEz+Hjhh5XZa3/R+Jw/dH9Ys4KPyZZSTec=";
});
});
})
];
};
}