diff --git a/nixos-wsl.nix b/nixos-wsl.nix index c4f003d..1790eac 100644 --- a/nixos-wsl.nix +++ b/nixos-wsl.nix @@ -18,5 +18,18 @@ defaultUser = hyper.user; enable = true; }; - nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + substitute = true; + substituters = [ + "https://yazi.cachix.org" + ]; + trusted-public-keys = [ + "yazi.cachix.org-1:Dcdz63NZKfvUCbDGngQDAZq6kOroIrFoyO064uvLh8k=" + ]; + }; + }; + + nixpkgs.hostPlatform = hyper.system; }