mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-12-22 10:32:55 -05:00
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
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:
parent
6bf5eee591
commit
1bc6e50b18
|
@ -1,5 +1,10 @@
|
||||||
{lib, ...}: {
|
{
|
||||||
boot.kernel.sysctl = {
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
boot = {
|
||||||
|
kernel.sysctl = {
|
||||||
# Improved file monitoring
|
# 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_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;
|
# "fs.inotify.max_user_watches" = lib.mkOverride 100 524288;
|
||||||
|
@ -34,6 +39,9 @@
|
||||||
"vm.watermark_scale_factor" = lib.mkDefault 125;
|
"vm.watermark_scale_factor" = lib.mkDefault 125;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
earlyoom = {
|
earlyoom = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
|
|
Loading…
Reference in a new issue