chore(nix/deps): Manage (Spiced) Spotify with Nix

This commit is contained in:
Ahmad Ansori Palembani 2024-11-06 10:31:11 +07:00
parent 4b9ac3b623
commit 01d4cf8273
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
5 changed files with 70 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, pkgs-unstable, config, vars, common, inputs, ... }:
{ pkgs, pkgs-unstable, spicePkgs, config, vars, common, inputs, ... }:
let
libFixup = import ../../lib/darwin/libFixup.nix;
@ -74,6 +74,14 @@ in {
# Create /etc/zshrc that loads the nix-darwin environment.
programs.zsh.enableCompletion = false; # causing "insecure directories and files" error if user doesn't have configured zsh
programs.spicetify = {
enable = true;
enabledExtensions = with spicePkgs.extensions; [
adblock
shuffle
];
};
# Set Git commit hash for darwin-version.
system.configurationRevision = vars.rev or null;