begin migration to dendritic pattern
This commit is contained in:
153 files changed
+3352
-53
No files matched your search
@@ -0,0 +1,41 @@
|
||||
{ inputs, self, ... }: {
|
||||
flake.homeModules.spotify = { pkgs, config, lib, ... }: {
|
||||
imports = [
|
||||
inputs.spicetify.homeManagerModules.default
|
||||
];
|
||||
|
||||
options = {
|
||||
features.spicetify.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = {
|
||||
home.packages = with pkgs; lib.mkIf (config.features.spicetify.enable == false) [
|
||||
spotfify
|
||||
];
|
||||
|
||||
programs.spicetify =
|
||||
let
|
||||
spicePkgs = inputs.spicetify.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in lib.mkIf (config.features.spicetify.enable) {
|
||||
enable = true;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
hidePodcasts
|
||||
];
|
||||
enabledSnippets = with spicePkgs.snippets; [
|
||||
spinningCdCoverArt
|
||||
oneko
|
||||
hideMiniPlayerButton
|
||||
hideFullScreenButton
|
||||
declutterNowPlayingBar
|
||||
modernScrollbar
|
||||
];
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
# marketplace
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user