summaryrefslogtreecommitdiff
path: root/nixos/boot.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/boot.nix')
-rw-r--r--nixos/boot.nix4
1 files changed, 4 insertions, 0 deletions
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"
+ ''
}