begin migration to dendritic pattern

This commit is contained in:
greyweather committed 2026-08-27 00:50:33 +01:00
1 parent 4a081aef50
commit 7245e872f6
153 files changed
+3352 -53

No files matched your search

+41
View File
@@ -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
];
};
};
};
}