diff --git a/home/programs/node.nix b/home/programs/node.nix index 2006630..986fd0f 100644 --- a/home/programs/node.nix +++ b/home/programs/node.nix @@ -1,8 +1,16 @@ -{ pkgs, ... }: +{ pkgs, config, ... }: { home.packages = with pkgs.nodePackages_latest; [ nodejs pnpm prettier ]; + + home.sessionPath = [ "${config.home.homeDirectory}/.local/npm/bin" ]; + + home.file.".npmrc".text = + # ini + '' + prefix=${config.home.homeDirectory}/.local/npm + ''; } diff --git a/profiles/castle.nix b/profiles/castle.nix index 1e227b2..2047110 100644 --- a/profiles/castle.nix +++ b/profiles/castle.nix @@ -18,7 +18,7 @@ in settings = { monitors = [ "desc:${primaryMonitor},3440x1440@165,0x0,1" - "desc:${secondaryMonitor},2560x1440@75,440x-1440,1" + "desc:${secondaryMonitor},2560x1440@75,3440x0,1" ]; workspaces = [ "1, monitor:desc:${primaryMonitor}, default:true"