hw/gaming: default to zen kernel
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / clean-install-build (push) Waiting to run
nix-build / rofi-bluetooth-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-build / aly_petalburg-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run

This commit is contained in:
Aly Raffauf 2024-12-19 11:19:46 -05:00
parent 6bf5eee591
commit 1bc6e50b18

View file

@ -1,5 +1,10 @@
{lib, ...}: {
boot.kernel.sysctl = {
{
lib,
pkgs,
...
}: {
boot = {
kernel.sysctl = {
# Improved file monitoring
"fs.inotify.max_user_instances" = lib.mkOverride 100 8192; # Re-use the default from Bazzite even though the default NixOS value is higher.
# "fs.inotify.max_user_watches" = lib.mkOverride 100 524288;
@ -34,6 +39,9 @@
"vm.watermark_scale_factor" = lib.mkDefault 125;
};
kernelPackages = pkgs.linuxPackages_zen;
};
services = {
earlyoom = {
enable = lib.mkDefault true;