{ config, inputs, pkgs, ... }: { # Managed VS Code Extensions (The "Clean" Way) programs.vscode = { enable = true; profiles.default = { userSettings = builtins.fromJSON (builtins.readFile ./config.vscode.settings.json); extensions = with inputs.nix-vscode-extensions.extensions.${pkgs.system}.vscode-marketplace; [ bbenoist.nix vscode-icons-team.vscode-icons waderyan.gitblame ]; }; }; home.sessionVariables = { # Points to the Homebrew location mentioned in your caveat NPM_CONFIG_PREFIX = "${config.home.homeDirectory}/.npm-global"; }; home.sessionPath = [ "${config.home.homeDirectory}/.npm-global/bin" ]; home.file.".npmrc".text = '' prefix=${config.home.homeDirectory}/.npm-global '' ; }