A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Re-enable watchexec by using rosetta nix packages

+28 -4
+1 -2
Justfile
··· 175 175 # 176 176 177 177 @dev: build 178 - # just watch-wo-build & just server 179 - just server 178 + just watch-wo-build & just server 180 179 181 180 182 181 @doc-tests:
+26 -1
flake.nix
··· 16 16 # ======= 17 17 18 18 outputs = { self, nixpkgs, flake-utils, rust-overlay }: 19 + let 20 + inherit (nixpkgs.lib) attrValues optionalAttrs; 21 + 22 + # Make rosetta (x86) packages available on M1 macs 23 + nixpkgsConfig = { 24 + overlays = attrValues self.overlays ++ [( 25 + final: prev: 26 + (optionalAttrs 27 + (prev.stdenv.system == "aarch64-darwin") 28 + { inherit (final.pkgs-x86); } 29 + ) 30 + )]; 31 + }; 32 + 33 + overlays = { 34 + apple-silicon = _: prev: 35 + optionalAttrs (prev.stdenv.system == "aarch64-darwin") { 36 + pkgs-x86 = import nixpkgs { 37 + system = "x86_64-darwin"; 38 + inherit nixpkgsConfig; 39 + }; 40 + }; 41 + }; 42 + 43 + in 19 44 flake-utils.lib.simpleFlake { 20 45 inherit self nixpkgs; 21 46 name = "diffuse"; 22 47 shell = ./nix/shell.nix; 23 - preOverlays = [ (import rust-overlay) ]; 48 + preOverlays = [ (import rust-overlay) overlays.apple-silicon ]; 24 49 }; 25 50 }
+1 -1
nix/shell.nix
··· 36 36 curl 37 37 just 38 38 simple-http-server 39 - # watchexec 39 + pkgs-x86.watchexec 40 40 ]; 41 41 42 42 languages = [