Compare commits
No commits in common. "0cdce64701ad540db7ccdbc0f9db29582db95926" and "21f3df0cb42c39e2b71281c4ec8a46511d70fbdc" have entirely different histories.
0cdce64701
...
21f3df0cb4
2 changed files with 4 additions and 5 deletions
|
|
@ -10,4 +10,3 @@
|
|||
## Credits
|
||||
- [orangc's flake](https://git.orangc.net/c/dots)
|
||||
- [vimjoyer's tutorials](https://www.youtube.com/@vimjoyer)
|
||||
- [wallpaper source](https://github.com/er2de2/catppuccin_walls/blob/master/wallpapers_png/autumn_2.0.png)
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
{ inputs, lib, pkgs, ... }: let
|
||||
ram-allocation-mb = 12288;
|
||||
modpack = let
|
||||
commit = "476d4e5c08caded28ef0e24193249bec75cf52e6";
|
||||
commit = "d1c0e4d6813e912a861345aa172eb52b83f93da9";
|
||||
in pkgs.fetchPackwizModpack {
|
||||
packHash = "";
|
||||
packHash = "sha256-qeiJlkMBkTW+WQemGt9W0N+iTgG6TKsq/5YiJuph1Sk=";
|
||||
url = "https://git.satr14.my.id/satr14/server-modpack/raw/commit/${commit}/pack.toml";
|
||||
};
|
||||
in {
|
||||
|
|
@ -12,7 +12,7 @@ in {
|
|||
|
||||
powerManagement.cpuFreqGovernor = "schedutil";
|
||||
boot.kernel.sysctl = {
|
||||
"vm.nr_hugepages" = (ram-allocation-mb / 2) + 512; # (heap_mb / 2MB per page) + 512 pages (1GB) for ZGC off-heap overhead
|
||||
"vm.nr_hugepages" = 6656;
|
||||
"vm.swappiness" = 10;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue