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:
parent
36575f8d5b
commit
ccb831e991
2 changed files with 17 additions and 18 deletions
17
system.nix
17
system.nix
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue