modules: move tui, gui, cli to programs
This commit is contained in:
parent
543a24171c
commit
b7ce685314
106 changed files with 3 additions and 47 deletions
31
modules/programs/gui/spicetify.nix
Normal file
31
modules/programs/gui/spicetify.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
inputs',
|
||||
...
|
||||
}: let
|
||||
cfg = config.modules.system.programs.spotify;
|
||||
inherit (config.modules.other.system) username;
|
||||
spicePkgs = inputs'.spicetify-nix.legacyPackages;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
home-manager.users.${username} = {
|
||||
imports = [inputs.spicetify-nix.homeManagerModules.default];
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
spotifyPackage = pkgs.spotify;
|
||||
theme = spicePkgs.themes.catppuccin;
|
||||
colorScheme = "mocha";
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
# shuffle
|
||||
# popupLyrics
|
||||
adblock
|
||||
# betterGenres
|
||||
# playlistIcons
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue