Add spicetify
This commit is contained in:
parent
b6fce2b0df
commit
7afb67c36c
5 changed files with 87 additions and 1 deletions
29
modules/home/programs/spicetify/default.nix
Normal file
29
modules/home/programs/spicetify/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.${namespace}.programs.spicetify;
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
options.${namespace}.programs.spicetify = {
|
||||
enable = lib.mkEnableOption "spicetify";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
colorScheme = "mocha";
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
keyboardShortcut
|
||||
shuffle
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue