From f3b953e87bf09a6b9dc584106ce7ffbd5a5c9ad0 Mon Sep 17 00:00:00 2001 From: "Lennart J. Kurzweg (Nx2)" Date: Wed, 16 Jul 2025 09:37:35 +0000 Subject: [PATCH] cache yazi on wsl --- nixos-wsl.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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; }