summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/settings/development/javascript.nix15
1 files changed, 10 insertions, 5 deletions
diff --git a/user/settings/development/javascript.nix b/user/settings/development/javascript.nix
index 19c7308e..bea1f02c 100644
--- a/user/settings/development/javascript.nix
+++ b/user/settings/development/javascript.nix
@@ -2,14 +2,9 @@
 , pkgs
 , ...
 }:
-let
-  nodejs = pkgs.nodejs;
-in
 {
   home.packages =
     (with pkgs; [
-      nodejs
-      bun
       pnpm-shell-completion
       bunyan-rs
     ])
@@ -28,6 +23,16 @@ in
     NO_UPDATE_NOTIFIER = "1"; # stop npm update-notifier
   };
 
+  programs.bun = {
+    enable = true;
+    settings = {
+      run = {
+        bun = true;
+        silent = true;
+      };
+    };
+  };
+
   programs.emacs.extraPackages = epkgs: (with epkgs; [
     add-node-modules-path
     js2-mode