From 610d5ccf4026e60bd89820f5c5da5e97fda5de45 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Thu, 3 Mar 2022 16:25:34 +0000 Subject: [PATCH] hm/porcorosso-wsl: add nixpkgs to NIX_PATH --- ops/nixos/lib/home-manager/porcorosso-wsl.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ops/nixos/lib/home-manager/porcorosso-wsl.nix b/ops/nixos/lib/home-manager/porcorosso-wsl.nix index a4e603cde4..ff968faab8 100644 --- a/ops/nixos/lib/home-manager/porcorosso-wsl.nix +++ b/ops/nixos/lib/home-manager/porcorosso-wsl.nix @@ -2,8 +2,14 @@ { imports = [ ./graphical-client-wayland.nix ]; - config.programs.keychain = { - enable = true; - keys = [ "id_ed25519" ]; + config = { + programs.keychain = { + enable = true; + keys = [ "id_ed25519" ]; + }; + + home.sessionVariables = { + NIX_PATH = "nixpkgs=/home/lukegb/depot/third_party/nixpkgs"; + }; }; }