From bc5521fff0d3e2cb8789619950268aaced9d605d Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Mon, 19 Feb 2024 20:49:59 +0100 Subject: [PATCH] Change kernel to latest zen kernel for gaming --- hosts/perso-desktop/default.nix | 1 + hosts/perso-laptop/default.nix | 1 + modules/linux_gaming.nix | 5 +++++ 3 files changed, 7 insertions(+) create mode 100644 modules/linux_gaming.nix diff --git a/hosts/perso-desktop/default.nix b/hosts/perso-desktop/default.nix index e69a8fc..592d211 100644 --- a/hosts/perso-desktop/default.nix +++ b/hosts/perso-desktop/default.nix @@ -7,6 +7,7 @@ { imports = [ + ../../modules/linux_gaming.nix ../../modules/system.nix ../../modules/network.nix ../../modules/nvidia.nix diff --git a/hosts/perso-laptop/default.nix b/hosts/perso-laptop/default.nix index 3e75152..17c0a7c 100644 --- a/hosts/perso-laptop/default.nix +++ b/hosts/perso-laptop/default.nix @@ -7,6 +7,7 @@ { imports = [ + ../../modules/linux_gaming.nix ../../modules/system.nix ../../modules/network.nix ../../modules/nvidia.nix diff --git a/modules/linux_gaming.nix b/modules/linux_gaming.nix new file mode 100644 index 0000000..9537b96 --- /dev/null +++ b/modules/linux_gaming.nix @@ -0,0 +1,5 @@ +{ config, pkgs, ... }: + +{ + boot.kernelPackages = pkgs.linuxPackages_zen; +} \ No newline at end of file