chore(nix/deps): Manage (Spiced) Spotify with Nix
This commit is contained in:
parent
4b9ac3b623
commit
01d4cf8273
5 changed files with 70 additions and 12 deletions
|
@ -30,11 +30,13 @@ in
|
|||
}
|
||||
) pkgs pkgs-unstable;
|
||||
common = (mkCommon { inherit pkgs pkgs-unstable; });
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${system};
|
||||
in
|
||||
nix-darwin.lib.darwinSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs pkgs pkgs-unstable vars common; };
|
||||
specialArgs = { inherit inputs pkgs pkgs-unstable spicePkgs vars common; };
|
||||
modules = [
|
||||
inputs.spicetify-nix.nixosModules.default # Also works on nix-darwin thanks to it being nixosConfiguration replacement for macOS
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
|
@ -57,11 +59,13 @@ in
|
|||
}
|
||||
) pkgs pkgs-unstable;
|
||||
common = (mkCommon { inherit pkgs pkgs-unstable; });
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${system};
|
||||
in
|
||||
nix-darwin.lib.darwinSystem {
|
||||
inherit system;
|
||||
specialArgs = { inherit inputs pkgs pkgs-unstable vars common; };
|
||||
specialArgs = { inherit inputs pkgs pkgs-unstable spicePkgs vars common; };
|
||||
modules = [
|
||||
inputs.spicetify-nix.nixosModules.default
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue