Skip to content

Commit b5da53f

Browse files
committed
updates
1 parent bacdd84 commit b5da53f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

vagrant/ramdisk.nix

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{ config, pkgs, lib, username, ... }:
22

33
{
4-
# This function will be used in our session variables to determine RAM disk paths
5-
home.sessionVariables = let
6-
# Helper function to check if a path is available and choose an alternative if not
7-
checkPath = path: fallback: "''${${path}:-${fallback}}";
8-
in {
9-
# NPM configuration - use RAM disk if available, otherwise fallback to home directory
4+
# Configure development tools to use RAM disk for temporary files
5+
home.sessionVariables = {
6+
# NPM configuration
107
npm_config_cache = "/ramdisk/.npm";
118

129
# PNPM configuration

0 commit comments

Comments
 (0)