fixup/redis mem (#90)

* add sysctl params

* Fix early startup issue w/ autopull

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Update flake.lock

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* add dependency for autopull

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* move autopull dependency

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* nix environment is weird :(

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

---------

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-02-18 00:27:02 -05:00
committed by GitHub
parent b2366d9a44
commit 889ce92247
2 changed files with 7 additions and 3 deletions

View File

@ -20,6 +20,10 @@
filesystem = "zfs";
useSystemdBoot = true;
kernelParams = [ "i915.force_probe=56a5" "i915.enable_guc=2" ];
kernel.sysctl = {
"vm.overcommit_memory" = 1;
"vm.swappiness" = 10;
};
binfmt.emulatedSystems = [ "aarch64-linux" ];
};