Initial commit
This commit is contained in:
34
home/programs/spicetify.nix
Normal file
34
home/programs/spicetify.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs) spicetify-nix;
|
||||
in {
|
||||
imports = [spicetify-nix.homeManagerModules.default];
|
||||
|
||||
programs.spicetify = let
|
||||
spicePkgs = spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
spotifyLaunchFlags = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
keyboardShortcut
|
||||
shuffle
|
||||
groupSession
|
||||
fullAlbumDate
|
||||
showQueueDuration
|
||||
betterGenres
|
||||
lastfm
|
||||
playNext
|
||||
volumePercentage
|
||||
allOfArtist
|
||||
];
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||
"workspace 3, class:^(Spotify)$"
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user