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.\
overlays = {
default = import ./overlays inputs;
pkg-sets = (
final: prev: {
unstable = import inputs.unstable { system = final.system; };
trunk = import inputs.trunk { system = final.system; };
}
);
};
overlaysModule = {
nixpkgs.overlays = [ self.overlays.default ];
nixpkgs.overlays = builtins.attrValues self.overlays;
};
nixosConfigurations = {
@ -95,6 +101,7 @@
system = "aarch64-darwin";
specialArgs = { inherit inputs; };
modules = [
self.overlaysModule
home-manager.darwinModules.home-manager
{
home-manager.useGlobalPkgs = true;

View File

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

View File

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