updated flake inputs, fixed evaluation warnings
removed the neon configuration from the flake
This commit is contained in:
15
modules/sys/hardware/kernel.nix
Normal file
15
modules/sys/hardware/kernel.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ lib, config, pkgs, ... }: {
|
||||
options = {
|
||||
movOpts.hardwareCfg.kernelModule.enable = lib.mkEnableOption "enables kernel module configuration";
|
||||
};
|
||||
config = lib.mkIf config.movOpts.hardwareCfg.kernelModule.enable {
|
||||
hardware.enableAllFirmware = true;
|
||||
environment.systemPackages = [
|
||||
pkgs.linux-firmware
|
||||
];
|
||||
boot.kernelModules = [
|
||||
"amdgpu"
|
||||
"rtw89_8852ce"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user