nixos-config/system/modules/spicetify.nix
2024-11-12 14:29:05 -08:00

30 lines
647 B
Nix

{
pkgs,
lib,
inputs,
...
}: let
unstable = import <nixos-unstable> {config = {allowUnfree = true;};};
spicetify-nix = inputs.spicetify-nix;
spicePkgs = spicetify-nix.packages.${pkgs.system}.default;
in {
imports = [
inputs.spicetify-nix.nixosModules.default
];
programs.spicetify = let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
beautifulLyrics
];
theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha";
enabledCustomApps = with spicePkgs.apps; [
lyricsPlus
];
};
}