diff --git a/modules/home-manager/shell.nix b/modules/home-manager/shell.nix index ea3ce1c..04ce477 100644 --- a/modules/home-manager/shell.nix +++ b/modules/home-manager/shell.nix @@ -13,7 +13,7 @@ }; sessionVariables = { # https://nodejs.org/docs/latest/api/cli.html#node_compile_cachedir - NODE_COMPILE_CACHE = "~/.node-compile-cache"; + NODE_COMPILE_CACHE = "$HOME/.node-compile-cache"; }; }; diff --git a/modules/nixos/steam.nix b/modules/nixos/steam.nix index 959ad3d..746f8d1 100644 --- a/modules/nixos/steam.nix +++ b/modules/nixos/steam.nix @@ -11,6 +11,6 @@ ]; environment.sessionVariables = { - STEAM_EXTRA_COMPAT_TOOLS_PATHS = "~/.steam/root/compatibilitytools.d"; + STEAM_EXTRA_COMPAT_TOOLS_PATHS = "$HOME/.steam/root/compatibilitytools.d"; }; }