mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: add spicetify
This commit is contained in:
parent
e6c7351094
commit
2a250deccf
6 changed files with 174 additions and 106 deletions
22
modules/home/common/spicetify.nix
Normal file
22
modules/home/common/spicetify.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ inputs, lib, config, pkgs, ... }:
|
||||
let
|
||||
moduleName = "spicetify";
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
|
||||
in
|
||||
{
|
||||
options.swarselmodules.${moduleName} = lib.mkEnableOption "${moduleName} settings";
|
||||
config = lib.mkIf config.swarselmodules.${moduleName} {
|
||||
programs.spicetify = {
|
||||
enable = true;
|
||||
spotifyPackage = pkgs.stable24_11.spotify;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
fullAppDisplay
|
||||
shuffle
|
||||
hidePodcasts
|
||||
fullAlbumDate
|
||||
skipStats
|
||||
history
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
inputs.nix-index-database.homeModules.nix-index
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
# inputs.stylix.homeModules.stylix
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
{
|
||||
imports = [
|
||||
"${self}/profiles/home"
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
emacs.enable = false;
|
||||
waybar.enable = false;
|
||||
sway.useWallpaper = false;
|
||||
spicetify.enable = true;
|
||||
firefox.profileNames = [ "default" ];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue