From 79decb1333f02ec20568d8e6611561bdd10ec331 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Wed, 6 Nov 2024 21:41:53 +0700 Subject: [PATCH] eastle: move secondary monitor settings to the right --- home/programs/node.nix | 10 +++++++++- profiles/castle.nix | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) 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"