npm packages and ulimit

This commit is contained in:
Olaf Kolkman
2026-08-01 09:26:36 +02:00
parent f5be95e5c3
commit cc996f7550
2 changed files with 33 additions and 0 deletions
+4
View File
@@ -62,6 +62,9 @@ in
};
stateVersion = "23.11";
};
home.activation.ensureNpmCliTools = import ./npm.nix { inherit lib pkgs; };
catppuccin = {
autoEnable = true;
enable = true;
@@ -184,6 +187,7 @@ in
initContent =
let
zshConfigEarlyInit = lib.mkOrder 500 ''
ulimit -n 524288
if [[ -f /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh ]]; then
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
. /nix/var/nix/profiles/default/etc/profile.d/nix.sh