Add comments to explain each file

This commit is contained in:
Hadi
2024-10-15 15:02:07 +02:00
parent 4733414bb3
commit 915a767283
32 changed files with 48 additions and 26 deletions

View File

@@ -1,18 +1,23 @@
# Spicetify is a spotify client customizer
{ pkgs, config, lib, inputs, ... }:
let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
accent = "#${config.lib.stylix.colors.base0D}";
accent = "${config.lib.stylix.colors.base0D}";
in {
imports = [ inputs.spicetify-nix.homeManagerModules.default ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [ "spotify" ];
stylix.targets.spicetify.enable = false;
programs.spicetify = {
enable = true;
theme = lib.mkForce spicePkgs.themes.text;
# TODO: Colors not working
customColorScheme = lib.mkForce {
colorScheme = "custom";
customColorScheme = {
button = accent;
button-active = accent;
tab-active = accent;