aboutsummaryrefslogtreecommitdiff
path: root/modules/spicetify.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/spicetify.nix')
-rw-r--r--modules/spicetify.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/spicetify.nix b/modules/spicetify.nix
new file mode 100644
index 0000000..d871620
--- /dev/null
+++ b/modules/spicetify.nix
@@ -0,0 +1,21 @@
+{ config, lib, pkgs, inputs, ... }:
+let
+ cfg = config.spicetify;
+ spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
+in {
+ options.spicetify.enable = lib.mkEnableOption "Enable Spicetify integration";
+ config = lib.mkIf cfg.enable {
+ programs.spicetify = {
+ enable = true;
+ enabledSnippets = with spicePkgs.snippets; [
+ pointer
+ sonicDancing
+ modernScrollbar
+ nyanCatProgressBar
+ declutterNowPlayingBar
+ ];
+ theme = spicePkgs.themes.sleek;
+ colorScheme = "Coral";
+ };
+ };
+}