diff --git a/flake.nix b/flake.nix index 29175b7..3ad85d9 100644 --- a/flake.nix +++ b/flake.nix @@ -155,9 +155,14 @@ busybox ]; }; - config.Env = [ - "NIX_CONFIG=experimental-features = nix-command flakes" - ]; + config = { + User = "node"; + Env = [ + "NIX_CONFIG=experimental-features = nix-command flakes" + "SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" + "NODE_EXTRA_CA_CERTS=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt" + ]; + }; }; } )