user/spicetify: init
This commit is contained in:
parent
7b113e161b
commit
da99b2b263
6 changed files with 56 additions and 2 deletions
|
|
@ -58,6 +58,7 @@ in {
|
|||
./user/polybar.nix
|
||||
./user/rofi.nix
|
||||
./user/sessionVariables.nix
|
||||
./user/spicetify.nix
|
||||
./user/sxhkd.nix
|
||||
./user/theming.nix
|
||||
./user/xdg.nix
|
||||
|
|
|
|||
30
modules/user/spicetify.nix
Normal file
30
modules/user/spicetify.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ config, inputs, pkgs, ... }:
|
||||
let
|
||||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
||||
#adblock = inputs.spotify-adblock.defaultPackage.x86_64-linux;
|
||||
adblock = pkgs.me.spotify-adblock;
|
||||
in
|
||||
{
|
||||
imports = [ inputs.spicetify-nix.homeManagerModule ];
|
||||
|
||||
programs.spicetify = {
|
||||
spotifyPackage = pkgs.spotify-unwrapped.overrideAttrs(o: {
|
||||
installPhase = let
|
||||
a = pkgs.lib.replaceStrings ["--prefix PATH"] [''--prefix SPOTIFY_ADBLOCK_CONFIG : ${adblock}/lib/config.toml \
|
||||
--prefix LD_PRELOAD : ${adblock}/lib/libspotifyadblock.so \
|
||||
--prefix PATH''] o.installPhase;
|
||||
in builtins.trace a a;
|
||||
});
|
||||
|
||||
enable = true;
|
||||
theme = spicePkgs.themes.Dribbblish;
|
||||
colorScheme = "purple";
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
fullAppDisplay
|
||||
shuffle # shuffle+ (special characters are sanitized out of ext names)
|
||||
hidePodcasts
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue