aboutsummaryrefslogtreecommitdiff
path: root/modules/spicetify.nix
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
committerschererleander <leander@schererleander.de>2025-05-11 16:48:04 +0200
commitf6cf9bea4125ce0501c72374fa4ed82dc03d3147 (patch)
tree6fd9db4633b06a892456c4e58ccec9a9644af55e /modules/spicetify.nix
parentac5d4c921a776b991db0f9e23cc283c1a401fd45 (diff)
chore, formatting
Diffstat (limited to 'modules/spicetify.nix')
-rw-r--r--modules/spicetify.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/spicetify.nix b/modules/spicetify.nix
index 6873d35..5d245d9 100644
--- a/modules/spicetify.nix
+++ b/modules/spicetify.nix
@@ -1,10 +1,10 @@
{ 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 {
+ config = lib.mkIf config.spicetify.enable {
programs.spicetify = {
enable = true;
enabledSnippets = with spicePkgs.snippets; [
@@ -14,9 +14,11 @@ in {
nyanCatProgressBar
declutterNowPlayingBar
];
+
enabledExtensions = with spicePkgs.extensions; [
keyboardShortcut
];
+
theme = spicePkgs.themes.sleek;
colorScheme = "Coral";
};