liminalOS/hm/modules/linux/spicetify/default.nix
Youwen Wu 4314399a1c
Revert 1 commits
8424b02 'refactor: do not depend on inputs for modules'
2024-12-25 22:50:35 -08:00

31 lines
618 B
Nix

{
inputs,
pkgs,
config,
osConfig,
lib,
...
}:
let
spicepkgs = inputs.spicetify.legacyPackages.${pkgs.system};
in
{
imports = [
inputs.spicetify.homeManagerModules.default
];
config = lib.mkIf (config.liminalOS.programs.enable && osConfig.liminalOS.config.allowUnfree) {
programs.spicetify = {
enable = true;
# theme = spicepkgs.themes.dribbblish;
# colorScheme = "rosepine";
enabledExtensions = with spicepkgs.extensions; [
lastfm
fullAppDisplayMod
];
enabledCustomApps = with spicepkgs.apps; [
lyricsPlus
];
};
};
}