mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
spotify fix got merged
This commit is contained in:
parent
3f37571642
commit
81319aa076
1 changed files with 2 additions and 6 deletions
|
|
@ -1,19 +1,15 @@
|
||||||
{
|
{
|
||||||
spicetify-nix,
|
spicetify-nix,
|
||||||
master,
|
|
||||||
...
|
...
|
||||||
}: {pkgs, ...}: let
|
}: {pkgs, ...}: let
|
||||||
sp-nix = spicetify-nix;
|
sp-nix = spicetify-nix;
|
||||||
spicePkgs = sp-nix.packages.${pkgs.system}.default;
|
spicePkgs = sp-nix.packages.${pkgs.system}.default;
|
||||||
unfree = import master {
|
|
||||||
inherit (pkgs) system;
|
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
in {
|
in {
|
||||||
nixpkgs.allowedUnfree = ["spotify"];
|
nixpkgs.allowedUnfree = ["spotify"];
|
||||||
imports = [sp-nix.nixosModule];
|
imports = [sp-nix.nixosModule];
|
||||||
programs.spicetify = {
|
programs.spicetify = {
|
||||||
spotifyPackage = unfree.spotify-unwrapped;
|
spotifyPackage = pkgs.spotify-unwrapped;
|
||||||
spicetifyPackage = pkgs.spicetify-cli;
|
spicetifyPackage = pkgs.spicetify-cli;
|
||||||
enable = true;
|
enable = true;
|
||||||
enabledExtensions = with spicePkgs.extensions; [
|
enabledExtensions = with spicePkgs.extensions; [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue