diff --git a/README.md b/README.md index 2eb43c0..9172fc5 100644 --- a/README.md +++ b/README.md @@ -9,4 +9,5 @@ ## Credits - [orangc's flake](https://git.orangc.net/c/dots) -- [vimjoyer's tutorials](https://www.youtube.com/@vimjoyer) \ No newline at end of file +- [vimjoyer's tutorials](https://www.youtube.com/@vimjoyer) +- [wallpaper source](https://github.com/er2de2/catppuccin_walls/blob/master/wallpapers_png/autumn_2.0.png) \ No newline at end of file diff --git a/modules/system/homelab/mc.nix b/modules/system/homelab/mc.nix index 1e0affc..8bb9344 100644 --- a/modules/system/homelab/mc.nix +++ b/modules/system/homelab/mc.nix @@ -1,9 +1,9 @@ { inputs, lib, pkgs, ... }: let ram-allocation-mb = 12288; modpack = let - commit = "d1c0e4d6813e912a861345aa172eb52b83f93da9"; + commit = "476d4e5c08caded28ef0e24193249bec75cf52e6"; in pkgs.fetchPackwizModpack { - packHash = "sha256-qeiJlkMBkTW+WQemGt9W0N+iTgG6TKsq/5YiJuph1Sk="; + packHash = ""; 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" = 6656; + "vm.nr_hugepages" = (ram-allocation-mb / 2) + 512; # (heap_mb / 2MB per page) + 512 pages (1GB) for ZGC off-heap overhead "vm.swappiness" = 10; };