Files
nixos-config/mods/spicetify.nix
2025-01-25 00:09:42 -05:00

51 lines
1.0 KiB
Nix

{ config, pkgs, inputs, lib, ...}:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
options = {
spicetify.enable = lib.mkEnableOption "enable spice" // lib.mkDefault true;
};
config = lib.mkIf config.spicetify.enable {
imports = [
# For NixOS
inputs.spicetify-nix.nixosModules.default
];
enviroment.systemPackages = with pkgs; [
spicetify-cli
];
enabledExtensions = with spicePkgs.extensions; [
fullAlbumDate
goToSong
listPlaylistsWithSong
playlistIntersection
skipStats
phraseToPlaylist
showQueueDuration
betterGenres
playNext
#adblock
hidePodcasts
#shuffle # shuffle+ (special characters are sanitized out of extension names)
];
#enabledCustomApps = with spicePkgs.apps; [
# newReleases
# ncsVisualizer
#];
#enabledSnippets = with spicePkgs.snippets; [
# rotatingCoverart
# pointer
#];
theme = spicePkgs.themes.comfy;
#colorScheme = "hikari";
};
}