fix(mac): install spicetify from nixpkgs master

This commit is contained in:
Michael Thomas 2024-08-02 09:45:18 -04:00
parent c843170b5d
commit c887677560
4 changed files with 25 additions and 3 deletions

16
flake.lock generated
View File

@ -501,6 +501,21 @@
"type": "github" "type": "github"
} }
}, },
"master": {
"locked": {
"lastModified": 1722605938,
"narHash": "sha256-jEpnC5ChZozKqSQ0PCpd1f+nN7A/7d45MV0I/20gcS8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8f3018de97f0b078911e217be698a67c83557b5a",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"type": "github"
}
},
"nix-darwin": { "nix-darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -700,6 +715,7 @@
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"hyprland": "hyprland", "hyprland": "hyprland",
"master": "master",
"nix-vscode-extensions": "nix-vscode-extensions", "nix-vscode-extensions": "nix-vscode-extensions",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixvim": "nixvim", "nixvim": "nixvim",

View File

@ -4,6 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "nixpkgs/nixos-24.05"; nixpkgs.url = "nixpkgs/nixos-24.05";
unstable.url = "nixpkgs/nixos-unstable"; unstable.url = "nixpkgs/nixos-unstable";
master.url = "github:NixOS/nixpkgs";
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
home-manager = { home-manager = {

View File

@ -27,7 +27,7 @@
# Video # Video
ffmpeg ffmpeg
# Spotify # Spotify
unstable.spicetify-cli master.spicetify-cli
# Java # Java
checkstyle checkstyle
# XCode # XCode

View File

@ -5,7 +5,7 @@
# This one brings our custom packages from the 'pkgs' directory # This one brings our custom packages from the 'pkgs' directory
additions = final: _prev: additions = final: _prev:
import ../pkgs { import ../pkgs {
pkgs = final.pkgs; inherit (final) pkgs;
inherit inputs; inherit inputs;
}; };
@ -22,7 +22,12 @@
# be accessible through 'pkgs.unstable' # be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: { unstable-packages = final: _prev: {
unstable = import inputs.unstable { unstable = import inputs.unstable {
system = final.system; inherit (final) system;
config.allowUnfree = true;
};
master = import inputs.master {
inherit (final) system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
}; };