From 332a991e3d8b82390707cc978554be787f5a06a3 Mon Sep 17 00:00:00 2001 From: Sk7Str1p3 Date: Thu, 25 Jun 2026 19:24:39 +0000 Subject: [PATCH] feat(users/Sk7Str1p3): spicetify basic configuration --- users/Sk7Str1p3/home.nix | 3 +++ users/Sk7Str1p3/modules/default.nix | 6 +++++- users/Sk7Str1p3/modules/spotify.nix | 26 ++++++++++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 users/Sk7Str1p3/home.nix create mode 100644 users/Sk7Str1p3/modules/spotify.nix diff --git a/users/Sk7Str1p3/home.nix b/users/Sk7Str1p3/home.nix new file mode 100644 index 0000000..cce6b35 --- /dev/null +++ b/users/Sk7Str1p3/home.nix @@ -0,0 +1,3 @@ +{ + programs.music.spotify.enable = true; +} diff --git a/users/Sk7Str1p3/modules/default.nix b/users/Sk7Str1p3/modules/default.nix index 9e26dfe..6085abf 100644 --- a/users/Sk7Str1p3/modules/default.nix +++ b/users/Sk7Str1p3/modules/default.nix @@ -1 +1,5 @@ -{} \ No newline at end of file +{ + imports = [ + ./spotify.nix + ]; +} diff --git a/users/Sk7Str1p3/modules/spotify.nix b/users/Sk7Str1p3/modules/spotify.nix new file mode 100644 index 0000000..9fd4601 --- /dev/null +++ b/users/Sk7Str1p3/modules/spotify.nix @@ -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 + ]; + }; + }; +}