fixed spicetify :3

This commit is contained in:
2025-01-25 00:09:42 -05:00
parent 5a7b6dcc5b
commit 9e51e731e2
3 changed files with 124 additions and 0 deletions

56
mods/chat_spice.nix Normal file
View File

@@ -0,0 +1,56 @@
{ config, pkgs, inputs, lib, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
options.spicetify.enable = lib.mkEnableOption "Enable Spicetify integration";
config = lib.mkIf config.spicetify.enable {
# Import the Spicetify NixOS module for system configuration
imports = [
inputs.spicetify-nix.nixosModules.default
];
# Add the `spicetify-cli` tool to the system packages
environment.systemPackages = with pkgs; [
spicetify-cli
];
# Configure Spicetify with extensions, themes, and other customizations
spicetify = {
enabledExtensions = with spicePkgs.extensions; [
fullAlbumDate
goToSong
listPlaylistsWithSong
playlistIntersection
skipStats
phraseToPlaylist
showQueueDuration
betterGenres
playNext
# Uncomment the following lines to enable more extensions
# adblock
hidePodcasts
# shuffle
];
# Uncomment and configure custom apps if needed
# enabledCustomApps = with spicePkgs.apps; [
# newReleases
# ncsVisualizer
# ];
# Uncomment and configure snippets if needed
# enabledSnippets = with spicePkgs.snippets; [
# rotatingCoverart
# pointer
# ];
# Set the theme and optional color scheme
theme = spicePkgs.themes.comfy;
# colorScheme = "hikari";
};
};
}