From 4cd1ced9ba7b2ac15694d9cdfea6981e9d661105 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 2 Aug 2022 17:34:21 +0200 Subject: os: boot: split hardware section --- nixos/boot.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos') diff --git a/nixos/boot.nix b/nixos/boot.nix index ec800b7..394a7f8 100644 --- a/nixos/boot.nix +++ b/nixos/boot.nix @@ -46,5 +46,9 @@ # Hardware hardware.firmware = with pkgs; [ firmwareLinuxNonfree ]; + ## mcelog hardware.mcelog.enable = true; + services.udev.extraRules = '' + ACTION=="add", KERNEL=="mcelog", SUBSYSTEM=="misc", TAG+="systemd", ENV{SYSTEMD_WANTS}+="mcelog.service" + '' } -- cgit v1.2.3