My personal NixOS and nix-darwin configuration.
When fetchFromHuggingFace is used as such:
pkgs.homa.fetchFromHuggingFace {
repo = "unsloth/Qwen3.6-35B-A3B-MTP-GGUF";
file = "Qwen3.6-35B-A3B-UD-Q4_K_M.gguf";
version = "5bc3e238d916f48a861bac2f8a1990a0e9b7e98d";
hash = "";
}run the following command to preload the model and get the hash:
nix store prefetch-file https://huggingface.co/unsloth/Qwen3.6-35B-A3B-MTP-GGUF/resolve/5bc3e238d916f48a861bac2f8a1990a0e9b7e98d/Qwen3.6-35B-A3B-UD-Q4_K_M.gguf?download=true --name "unsloth-Qwen3.6-35B-A3B-MTP-GGUF-Qwen3.6-35B-A3B-UD-Q4_K_M.gguf-5bc3e238d916f48a861bac2f8a1990a0e9b7e98d"The name of the file follows the pattern <owner>-<repo>-<file>-<version>.
- WackyIdeas and contributors for developing AeroThemePlasma
- furkrn for developing PlymouthVista
- aean0x and Rotlug for prior art in packaging AeroThemePlasma for NixOS
- nyakase for prior art in packaging AeroThemePlasma for NixOS and being friendly
- meowkatee and nyakase for suggesting the use of
LD_PRELOADon a merge request for AUR packages, though this is no longer used