hyprland working again, spicetify module
This commit is contained in:
parent
8f1812fae8
commit
8029744b2b
8 changed files with 148 additions and 27 deletions
|
@ -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
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue