Copied my functional folder, started generalising henrovnix and writing documentation
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
{ pkgs, lib, user, config, ...} :
|
||||
{
|
||||
nixpkgs.hostPlatform = lib.mkDefault user.system; # x86_64-linux
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; # enable power saving on the cpu
|
||||
|
||||
# update cpu microcode with firmware that allows redistribution
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
||||
hardware = {
|
||||
# always enable bluetooth
|
||||
bluetooth.enable = true;
|
||||
|
||||
# always enable graphics drivers and enable a bunch of layers for it (including vulkan validation)
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
vulkan-validation-layers # helps catch and debug vulkan crashes
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
hardware.enableAllFirmware = true; # enable all firmware regardless of license
|
||||
}
|
||||
Reference in New Issue
Block a user