1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

chore: update discord-applemusic-rich-presence flake

This commit is contained in:
Ryan Cao 2023-07-29 12:47:09 +08:00
parent 36575f8d5b
commit ccb831e991
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
2 changed files with 17 additions and 18 deletions

View file

@ -79,8 +79,6 @@
auto-optimise-store = true;
extra-platforms = ["x86_64-darwin" "aarch64-darwin"];
# extra-sandbox-paths = ["/nix/var/cache/ccache"];
extra-substituters = [
"https://nix-community.cachix.org"
];
@ -94,6 +92,7 @@
attic.overlays.default
agenix.overlays.default
fenix.overlays.default
discord-applemusic-rich-presence.overlays.default
(import ./overlays/ryan-mono-bin.nix)
];
@ -101,15 +100,15 @@
hostPlatform = "aarch64-darwin";
};
system.activationScripts.extraActivation = {
text = ''
set -eo pipefail
HOME="/var/root" ${pkgs.lib.getExe pkgs.nvd} --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
programs.zsh.enable = true;
programs.fish.enable = true;
programs.fish.shellInit = ''
for p in /run/current-system/sw/bin
if not contains $p $fish_user_paths
set -g fish_user_paths $p $fish_user_paths
end
end
'';
homebrew = {
enable = true;