summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2022-08-02 16:37:21 +0200
committerQuentin Aristote <quentin@aristote.fr>2022-08-02 16:37:21 +0200
commit0146f55f3f35d945951e326bcb70320976ebfb5e (patch)
tree3ef7031c45b830b4c0427012fb87cb73cd14b853 /nixos
parent276414f676b94f3521198b2de49126029fd7249c (diff)
os: hardware: enable mcelog service
Diffstat (limited to 'nixos')
-rw-r--r--nixos/boot.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/boot.nix b/nixos/boot.nix
index b91bde6..920ac60 100644
--- a/nixos/boot.nix
+++ b/nixos/boot.nix
@@ -8,6 +8,7 @@
<nixos-hardware/common/pc/ssd>
];
+ # Bootloader
boot.loader = {
efi = { canTouchEfiVariables = true; };
grub = {
@@ -45,5 +46,7 @@
[ "i915.dc_enable=0" "intel_idle.max_cstate=1" ];
boot.kernelPackages = pkgs.linuxPackages_latest;
+ # Hardware
hardware.firmware = with pkgs; [ firmwareLinuxNonfree ];
+ hardware.mcelog.enable = true;
}