Skip to content

Commit

Permalink
chore(hosts): update modules
Browse files Browse the repository at this point in the history
raexera committed Nov 28, 2024
1 parent 91bde19 commit 8806979
Showing 3 changed files with 9 additions and 8 deletions.
7 changes: 7 additions & 0 deletions hosts/modules/hardware/cpu/intel/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
config,
lib,
...
}: {
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
1 change: 1 addition & 0 deletions hosts/yuki/default.nix
Original file line number Diff line number Diff line change
@@ -21,6 +21,7 @@

../modules/hardware/acpi_call
../modules/hardware/bluetooth
../modules/hardware/cpu/intel
../modules/hardware/gpu/intel
../modules/hardware/gpu/nvidia
../modules/hardware/ssd
9 changes: 1 addition & 8 deletions hosts/yuki/hardware-configuration.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
config,
lib,
...
}: {
boot = {
initrd = {
availableKernelModules = ["nvme" "sd_mod" "thunderbolt" "usb_storage" "xhci_pci"];
@@ -18,10 +14,7 @@
};
};

hardware = {
enableRedistributableFirmware = lib.mkDefault true;
cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
};
hardware.enableRedistributableFirmware = true;

# √(3072² + 1920²) px / 14.5 in ≃ 250 dpi
services.xserver.dpi = 250;

0 comments on commit 8806979

Please sign in to comment.