nixos/modules/system/hardware/gaming-kernel.nix
Florian RICHER a425abee8b
All checks were successful
check / check (push) Successful in 32s
Refactor: Avoid use folder for one file
Fix #3
2025-01-29 21:48:43 +01:00

16 lines
No EOL
338 B
Nix

{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.hardware.gamingKernel;
in
{
options.modules.system.hardware.gamingKernel = {
enable = mkEnableOption ''
Enable gaming kernel with my custom configurations
'';
};
config = mkIf cfg.enable {
boot.kernelPackages = pkgs.linuxPackages_zen;
};
}