nichts/modules/gui/spicetify.nix

31 lines
685 B
Nix
Raw Normal View History

2024-05-22 14:29:45 +02:00
{
config,
pkgs,
lib,
inputs,
2024-07-21 21:58:18 +02:00
inputs',
2024-05-22 14:29:45 +02:00
...
}: let
2024-07-20 13:18:01 +02:00
cfg = config.modules.system.programs.spotify;
inherit (config.modules.other.system) username;
2024-07-21 21:58:18 +02:00
spicePkgs = inputs'.spicetify-nix.packages.default;
2024-05-14 00:54:35 +02:00
in {
2024-05-22 10:43:46 +02:00
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
2024-05-22 14:29:45 +02:00
imports = [inputs.spicetify-nix.homeManagerModule];
programs.spicetify = {
enable = true;
spotifyPackage = pkgs.spotify;
2024-05-29 11:37:09 +02:00
#theme = spicePkgs.themes.Onepunch;
2024-07-22 22:46:11 +02:00
#colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [
2024-07-22 22:46:11 +02:00
#shuffle
adblock
2024-07-22 22:46:11 +02:00
#genre
#playlistIcons
];
};
};
};
2024-05-14 00:54:35 +02:00
}