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";
};
};
}

18
mods/mini-spice.nix Normal file
View File

@@ -0,0 +1,18 @@
{ pkgs, inputs, ... }:
{
programs.spicetify =
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in
{
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
hidePodcasts
shuffle # shuffle+ (special characters are sanitized out of extension names)
];
theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha";
};
}

50
mods/spicetify.nix Normal file
View File

@@ -0,0 +1,50 @@
{ 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";
};
}