feat(users/Sk7Str1p3): spicetify basic configuration
This commit is contained in:
parent
ba41b2ddfe
commit
332a991e3d
3 changed files with 34 additions and 1 deletions
3
users/Sk7Str1p3/home.nix
Normal file
3
users/Sk7Str1p3/home.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
programs.music.spotify.enable = true;
|
||||||
|
}
|
||||||
|
|
@ -1 +1,5 @@
|
||||||
{}
|
{
|
||||||
|
imports = [
|
||||||
|
./spotify.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
|
||||||
26
users/Sk7Str1p3/modules/spotify.nix
Normal file
26
users/Sk7Str1p3/modules/spotify.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
spicePkgs = inputs.spotify.legacyPackages.${pkgs.system};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
inputs.spotify.homeManagerModules.spicetify
|
||||||
|
(lib.mkAliasOptionModule [ "programs" "music" "spotify" ] [ "programs" "spicetify" ])
|
||||||
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
programs.music.spotify = {
|
||||||
|
wayland = true;
|
||||||
|
windowManagerPatch = true;
|
||||||
|
# theme = { ... } # Theming done with stylix.
|
||||||
|
enabledExtensions = with spicePkgs.extensions; [
|
||||||
|
adblock
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue