spotify: add spicetify-nix
This commit is contained in:
parent
378828b856
commit
1f8eab22b4
4 changed files with 62 additions and 1 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
33
modules/programs/gui/spotify.mod.nix
Normal file
33
modules/programs/gui/spotify.mod.nix
Normal 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
|
||||||
|
]);
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue