2023-08-05 21:03:24 -07:00
|
|
|
|
|
|
|
|
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
system.nixos.tags = [ "Nya_Beginnings" ];
|
|
|
|
|
2024-01-20 17:53:24 -08:00
|
|
|
networking.hostName = "lappy";
|
2023-08-05 21:03:24 -07:00
|
|
|
networking.networkmanager.enable = true;
|
|
|
|
time.timeZone = "America/Lost_Angeles";
|
|
|
|
|
2024-01-20 17:53:24 -08:00
|
|
|
boot.kernelParams = [
|
|
|
|
"intel_pstate=no_hwp"
|
|
|
|
"kernel.yama.ptrace_scope=0"
|
|
|
|
"mem_sleep_default=deep"
|
|
|
|
"module_blacklist=hid_sensor_hub"
|
|
|
|
"intel_iommu=on"
|
|
|
|
"iommu=pt"
|
|
|
|
"i915.enable_guc=7"
|
|
|
|
];
|
2023-08-05 21:03:24 -07:00
|
|
|
|
2024-01-20 17:53:24 -08:00
|
|
|
hardware.opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
intel-compute-runtime
|
|
|
|
intel-media-driver
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
# Read the Docs before Changing
|
|
|
|
system.stateVersion = "23.05";
|
2023-08-05 21:03:24 -07:00
|
|
|
}
|