mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 15:50:43 +00:00
Add spotify+spicetify
This commit is contained in:
parent
21cf34330e
commit
1fc8542b60
8 changed files with 120 additions and 1 deletions
5
home/programs/graphical/apps/default.nix
Normal file
5
home/programs/graphical/apps/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
_: {
|
||||
imports = [
|
||||
./spotify
|
||||
];
|
||||
}
|
45
home/programs/graphical/apps/spotify/default.nix
Normal file
45
home/programs/graphical/apps/spotify/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{
|
||||
lib,
|
||||
osConfig,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.spotify;
|
||||
spicePkgs = inputs.spicetify.packages.${pkgs.system}.default;
|
||||
in {
|
||||
imports = [inputs.spicetify.homeManagerModule];
|
||||
config = mkIf cfg.enable {
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
injectCss = true;
|
||||
replaceColors = true;
|
||||
|
||||
overwriteAssets = true;
|
||||
sidebarConfig = true;
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
lyrics-plus
|
||||
new-releases
|
||||
];
|
||||
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
fullAppDisplay
|
||||
shuffle # shuffle+ (special characters are sanitized out of ext names)
|
||||
hidePodcasts
|
||||
playlistIcons
|
||||
lastfm
|
||||
historyShortcut
|
||||
bookmark
|
||||
fullAlbumDate
|
||||
groupSession
|
||||
popupLyrics
|
||||
# TODO: genre, see: https://github.com/the-argus/spicetify-nix/issues/50
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue