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

18
flake.lock generated
View file

@ -114,11 +114,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1690507298, "lastModified": 1690603561,
"narHash": "sha256-iP3MWm0eRhFiHC+dN1O60IT2gp5OHMf6m3/E06UvevI=", "narHash": "sha256-IcALWqG/dozxKuvih7qRLoYMEtikHjJQ0KQx908UtxI=",
"owner": "ryanccn", "owner": "ryanccn",
"repo": "discord-applemusic-rich-presence", "repo": "discord-applemusic-rich-presence",
"rev": "804bbd6a9488b07384669f2d7edfa248ad499449", "rev": "8e97e31eded1dd9b548047fc90eefc6235540f4c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -135,11 +135,11 @@
"rust-analyzer-src": "rust-analyzer-src" "rust-analyzer-src": "rust-analyzer-src"
}, },
"locked": { "locked": {
"lastModified": 1690438856, "lastModified": 1690525255,
"narHash": "sha256-OM5x1jls18TZTkGgvG3A9SA8726gBYeXS50v1mUXueo=", "narHash": "sha256-jWmEJsV0mbWhUTCmkVg0URTVaQxzX9SPx33DPJPOmWc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "931d63b40e0aa3e7f65d242361d7fc15bbcbfd74", "rev": "6d22d0989ebc9e8fc7e1d15f973613fae928ebb2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -221,11 +221,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1690441914, "lastModified": 1690569970,
"narHash": "sha256-Ac+kJQ5z9MDAMyzSc0i0zJDx2i3qi9NjlW5Lz285G/I=", "narHash": "sha256-Lf1LLHyi+hajpj3dJqjMRgLMU2Fr++JEOdJyhBaxaWQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "db8672b8d0a2593c2405aed0c1dfa64b2a2f428f", "rev": "66ce081fafa2dca0038006ec7c6482d7a11d13d8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -79,8 +79,6 @@
auto-optimise-store = true; auto-optimise-store = true;
extra-platforms = ["x86_64-darwin" "aarch64-darwin"]; extra-platforms = ["x86_64-darwin" "aarch64-darwin"];
# extra-sandbox-paths = ["/nix/var/cache/ccache"];
extra-substituters = [ extra-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
]; ];
@ -94,6 +92,7 @@
attic.overlays.default attic.overlays.default
agenix.overlays.default agenix.overlays.default
fenix.overlays.default fenix.overlays.default
discord-applemusic-rich-presence.overlays.default
(import ./overlays/ryan-mono-bin.nix) (import ./overlays/ryan-mono-bin.nix)
]; ];
@ -101,15 +100,15 @@
hostPlatform = "aarch64-darwin"; 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.zsh.enable = true;
programs.fish.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 = { homebrew = {
enable = true; enable = true;