spotify
This commit is contained in:
parent
91b7973e45
commit
ea0b86d53b
26
nixos/packages/applications/spotify.nix
Normal file
26
nixos/packages/applications/spotify.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
options = {
|
||||
program.spotify.enable = lib.mkEnableOption "enable spotify";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.program.spotify.enable {
|
||||
programs.spicetify = let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
adblock
|
||||
hidePodcasts
|
||||
shuffle # shuffle+ (special characters are sanitized out of extension names)
|
||||
];
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user