Maybe my system will stop freezing during rebuilds

This commit is contained in:
Emmet 2023-08-24 16:30:38 -05:00
parent b1e8f4efa4
commit ca9a4e5820
2 changed files with 6 additions and 4 deletions

View file

@ -8,6 +8,8 @@ let
htop = "btm";
fd = "fd -Lu";
w3m = "w3m -no-cookie -v";
nixos-rebuild = "systemd-run --no-ask-password --uid=0 --system --scope -p MemoryLimit=16000M -p CPUQuota=60% nixos-rebuild";
home-manager = "systemd-run --no-ask-password --uid=1000 --user --scope -p MemoryLimit=16000M -p CPUQuota=60% home-manager";
};
in
{