From 3b5a73c436eb22e0cda59469263490705e149cb9 Mon Sep 17 00:00:00 2001 From: schererleander Date: Fri, 9 Jan 2026 16:57:15 +0100 Subject: refactor: use flake-parts, change modules structure --- modules/users/media/spicetify/default.nix | 43 ------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 modules/users/media/spicetify/default.nix (limited to 'modules/users/media/spicetify/default.nix') diff --git a/modules/users/media/spicetify/default.nix b/modules/users/media/spicetify/default.nix deleted file mode 100644 index e78b779..0000000 --- a/modules/users/media/spicetify/default.nix +++ /dev/null @@ -1,43 +0,0 @@ -{ - config, - lib, - pkgs, - inputs, - ... -}: - -let - spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system}; - cfg = config.nx.media.spicetify; - inherit (lib) mkOption types mkIf; -in -{ - options.nx.media.spicetify = { - enable = mkOption { - description = "Command-line tool to customize the official Spotify client"; - type = types.bool; - default = false; - }; - }; - - config = mkIf cfg.enable { - nixpkgs.config.allowUnfree = true; - programs.spicetify = { - enable = true; - enabledSnippets = with spicePkgs.snippets; [ - pointer - sonicDancing - modernScrollbar - nyanCatProgressBar - declutterNowPlayingBar - ]; - - enabledExtensions = with spicePkgs.extensions; [ - keyboardShortcut - ]; - - theme = spicePkgs.themes.sleek; - colorScheme = "Coral"; - }; - }; -} -- cgit v1.3.1