Kieran's opinionated (and probably slightly dumb) nix config
1{ 2 lib, 3 pkgs, 4 config, 5 inputs, 6 ... 7}: 8{ 9 imports = [ 10 inputs.spicetify-nix.homeManagerModules.default 11 ]; 12 13 options.atelier.apps.spotify.enable = lib.mkEnableOption "Enable Spotify config (spicetify)"; 14 config = lib.mkIf config.atelier.apps.spotify.enable { 15 programs.spicetify = 16 let 17 spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; 18 in 19 { 20 enable = true; 21 enabledExtensions = with spicePkgs.extensions; [ 22 adblock 23 hidePodcasts 24 shuffle 25 ]; 26 theme = spicePkgs.themes.text; 27 colorScheme = "CatppuccinMocha"; 28 }; 29 }; 30}