40 lines
817 B
Nix
40 lines
817 B
Nix
{
|
|
inputs,
|
|
self,
|
|
...
|
|
}: {
|
|
flake.overlays.spicetify = final: prev: {
|
|
spicetifyPkgs = inputs.spicetify-nix.legacyPackages.${final.stdenv.hostPlatform.system};
|
|
};
|
|
|
|
flake.nixosModules.spicetify-overlay = {
|
|
nixpkgs.overlays = [
|
|
self.overlays.spicetify
|
|
];
|
|
};
|
|
|
|
flake.nixosModules.spicetify = {pkgs, ...}: {
|
|
imports = [
|
|
self.nixosModules.spicetify-overlay
|
|
inputs.spicetify-nix.nixosModules.default
|
|
];
|
|
|
|
programs.spicetify = {
|
|
enable = true;
|
|
theme = pkgs.spicetifyPkgs.themes.bloom;
|
|
|
|
enabledCustomApps = with pkgs.spicetifyPkgs.apps; [
|
|
historyInSidebar
|
|
newReleases
|
|
];
|
|
|
|
enabledExtensions = with pkgs.spicetifyPkgs.extensions; [
|
|
betterGenres
|
|
catJamSynced
|
|
sortPlay
|
|
wikify
|
|
];
|
|
};
|
|
};
|
|
}
|