spotify: add spicetify-nix

This commit is contained in:
Bloxx12 2025-07-19 00:45:47 +02:00
commit 1f8eab22b4
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
4 changed files with 62 additions and 1 deletions

24
flake.lock generated
View file

@ -374,6 +374,7 @@
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"quickshell": "quickshell", "quickshell": "quickshell",
"spicetify-nix": "spicetify-nix",
"systems": "systems", "systems": "systems",
"watt": "watt" "watt": "watt"
} }
@ -399,6 +400,29 @@
"type": "github" "type": "github"
} }
}, },
"spicetify-nix": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"systems": [
"systems"
]
},
"locked": {
"lastModified": 1752381641,
"narHash": "sha256-R2iDZb94RosuCeuIukacZVVXxzWYr4jn/QI/ax15nW8=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "8f9fd947c52aa6adb6bafe72516eccf186708954",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "spicetify-nix",
"type": "github"
}
},
"systems": { "systems": {
"locked": { "locked": {
"lastModified": 1689347949, "lastModified": 1689347949,

View file

@ -52,6 +52,11 @@
url = "github:notashelf/watt"; url = "github:notashelf/watt";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
spicetify-nix = {
url = "github:Gerg-L/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};
quickshell = { quickshell = {
# add ?ref=<tag> to track a tag # add ?ref=<tag> to track a tag

View file

@ -58,7 +58,6 @@
rmpc rmpc
ruby_3_2 ruby_3_2
signal-desktop signal-desktop
spotify
starship starship
telegram-desktop telegram-desktop
thunderbird thunderbird

View file

@ -0,0 +1,33 @@
{
inputs,
pkgs,
...
}: let
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
spicetify = inputs.spicetify-nix.lib.mkSpicetify pkgs {
enable = true;
theme = spicePkgs.themes.catppuccin;
colorScheme = "mocha";
# enabledCustomApps = with spicePkgs.apps; [
# newReleases
# lyricsPlus
# ncsVisualizer
# ];
enabledExtensions = with spicePkgs.extensions; [
shuffle
hidePodcasts
keyboardShortcut
groupSession
keyboardShortcut
betterGenres
autoVolume
lastfm
];
};
in {
environment.systemPackages =
[spicetify]
++ (with pkgs; [
sptlrx
]);
}