From f1d4e12726129469af548ff3561d87998e27d144 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 23 Oct 2025 00:16:46 +0200 Subject: [PATCH] feat: switch to `spicetify` --- modules/home/default.nix | 1 + modules/home/spotify.nix | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 modules/home/spotify.nix diff --git a/modules/home/default.nix b/modules/home/default.nix index f0c6b1e..2a82caf 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -13,6 +13,7 @@ ++ [ (import ./zathura.nix) ] ++ [ (import ./packages.nix) ] ++ [ (import ./scripts/scripts.nix) ] + ++ [ (import ./spotify.nix) ] ++ [ (import ./waybar) ] ++ [ (import ./zsh.nix) ] ++ [ (import ./qutebrowser.nix) ] diff --git a/modules/home/spotify.nix b/modules/home/spotify.nix new file mode 100644 index 0000000..2479f93 --- /dev/null +++ b/modules/home/spotify.nix @@ -0,0 +1,28 @@ +{ inputs, pkgs, ... }: +let + spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system}; +in +{ + imports = [ inputs.spicetify-nix.homeManagerModules.default ]; + programs.spicetify = { + enable = true; + + enabledExtensions = with spicePkgs.extensions; [ + # 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.catppuccin; + # colorScheme = "mocha"; + theme = spicePkgs.themes.defaultDynamic; + }; +}