summaryrefslogtreecommitdiff
path: root/hm/soft/spicetify.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
committeradikro <adikro@disroot.org>2025-12-20 03:14:45 +0100
commit791bc419b6dac7c70951981ef6b34cdf85828470 (patch)
tree56d0962fdf829ae942feb1344763e54dbc3c89a3 /hm/soft/spicetify.nix
parente60410393cea222b16743a1a87f29c06b9b3543b (diff)
absolutely massive rewrite, made (almost) everything modular with changes to come
Diffstat (limited to 'hm/soft/spicetify.nix')
-rw-r--r--hm/soft/spicetify.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/hm/soft/spicetify.nix b/hm/soft/spicetify.nix
new file mode 100644
index 0000000..96c4d0d
--- /dev/null
+++ b/hm/soft/spicetify.nix
@@ -0,0 +1,24 @@
+{ inputs, pkgs, config, lib, ... }:
+let
+ cfg = config.szpont.hm.soft.spicetify;
+ spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
+in
+{
+ imports = [ inputs.spicetify-nix.homeManagerModules.default ];
+
+ options.szpont.hm.soft.spicetify.enable = lib.mkEnableOption "spicetify config";
+
+ config = lib.mkIf cfg.enable {
+ programs.spicetify = {
+ enable = true;
+
+ enabledExtensions = with spicePkgs.extensions; [
+ adblockify
+ hidePodcasts
+ ];
+
+ theme = spicePkgs.themes.catppuccin;
+ colorScheme = "mocha";
+ };
+ };
+}