From c38188ca87725c500c336a477af2f281b551f1db Mon Sep 17 00:00:00 2001 From: William Hsieh Date: Mon, 18 Sep 2023 19:40:29 +0800 Subject: [PATCH] fix(comma): avoid downloading latest nixpkgs each time by pinning version --- home.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home.nix b/home.nix index fafeea36..20427177 100644 --- a/home.nix +++ b/home.nix @@ -32,6 +32,9 @@ in { rustup gcc ]; + sessionVariables = { + COMMA_NIXPKGS_FLAKE = "nixpkgs/${config.home.stateVersion}"; + }; }; xdg.enable = true;