fix: use latest spicetify version

This commit is contained in:
Michael Thomas 2023-02-27 15:13:12 -05:00
parent ccaa44abc6
commit 93a8ecc35e
3 changed files with 10 additions and 8 deletions

View File

@ -34,10 +34,16 @@
# If you want to use packages from flakes that are not nixpkgs (such as NUR), add their overlays here.\ # If you want to use packages from flakes that are not nixpkgs (such as NUR), add their overlays here.\
overlays = { overlays = {
default = import ./overlays inputs; default = import ./overlays inputs;
pkg-sets = (
final: prev: {
unstable = import inputs.unstable { system = final.system; };
trunk = import inputs.trunk { system = final.system; };
}
);
}; };
overlaysModule = { overlaysModule = {
nixpkgs.overlays = [ self.overlays.default ]; nixpkgs.overlays = builtins.attrValues self.overlays;
}; };
nixosConfigurations = { nixosConfigurations = {
@ -95,6 +101,7 @@
system = "aarch64-darwin"; system = "aarch64-darwin";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = [ modules = [
self.overlaysModule
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
{ {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;

View File

@ -28,7 +28,7 @@
# Video # Video
ffmpeg ffmpeg
# Spotify # Spotify
spicetify-cli unstable.spicetify-cli
# Java # Java
checkstyle checkstyle
]; ];

View File

@ -3,13 +3,8 @@
let let
inherit (nixpkgs.lib) composeManyExtensions; inherit (nixpkgs.lib) composeManyExtensions;
inherit (builtins) attrNames readDir; inherit (builtins) attrNames readDir;
overlay-unstable = self: super: {
unstable = unstable.legacyPackages.x86_64-linux;
};
localOverlays = map localOverlays = map
(f: import (./default + "/${f}")) (f: import (./default + "/${f}"))
(attrNames (readDir ./default)); (attrNames (readDir ./default));
in in
composeManyExtensions (localOverlays ++ [ composeManyExtensions (localOverlays)
overlay-unstable
])