nixos-config/home-manager/stvnliu/spicetify.nix
Zhongheng Liu 5515d4a9cd
feat: introduced new home-manager features
Changed wallpaper to better fit the style of the WM
- affected common variables
- affected hyprland configuration
- affected stylix configuration
- included additional flake inputs
Added Spicetify packages (not working)
Added obs-studio home-manager program option
Added vimkey navigation keybinds for Hyprland
2024-08-25 18:40:18 +08:00

26 lines
600 B
Nix

{
pkgs,
lib,
inputs,
...
}: let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
in {
# allow spotify to be installed if you don't have unfree enabled already
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"spotify"
];
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.onepunch;
colorScheme = "Dark";
enabledExtensions = with spicePkgs.extensions; [
adblock
fullAppDisplay
shuffle # shuffle+ (special characters are sanitized out of ext names)
hidePodcasts
];
};
}