Restructure home and system modules
This commit is contained in:
parent
b86a8b50c7
commit
a03355b3a1
35 changed files with 82 additions and 82 deletions
16
modules/system/hardware/gamingKernel/default.nix
Normal file
16
modules/system/hardware/gamingKernel/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ 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;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue