hyprland working again, spicetify module

This commit is contained in:
vali 2024-05-15 17:28:32 +02:00
commit 8029744b2b
8 changed files with 148 additions and 27 deletions

View file

@ -3,10 +3,24 @@ with lib;
let
cfg = config.modules.programs.spicetify;
username = config.modules.other.system.username;
#inherit (inputs.spicetify-nix.packages.${pkgs.system}.default) spicePkgs;
inherit (inputs.spicetify-nix.packages.${pkgs.system}) spicetify-nix;
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
# inherit (inputs.spicetify-nix.packages.${pkgs.system}) spicetify-nix;
in {
options.modules.programs.spicetify.enable = mkEnableOption "spicetify";
imports = [ spicetify-nix.homeManagerModule ];
config = mkIf cfg.enable { programs.spicetify = { enable = true; }; };
config = mkIf cfg.enable {
home-manager.users.${username} = {
imports = [ inputs.spicetify-nix.homeManagerModule ];
programs.spicetify = {
enable = true;
spotifyPackage = pkgs.spotify;
theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha";
enabledExtensions = with spicePkgs.extensions; [
shuffle
hidePodcasts
adblock
];
};
};
};
}