diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-08-02 17:34:21 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-08-02 17:34:21 +0200 |
| commit | 4cd1ced9ba7b2ac15694d9cdfea6981e9d661105 (patch) | |
| tree | 2ceb517e29659bef7d39aeb67a889478e619d6b7 /nixos/boot.nix | |
| parent | 3b89eec1ce3bc38f6a9f09d559fe3ce59b80c482 (diff) | |
os: boot: split hardware section
Diffstat (limited to 'nixos/boot.nix')
| -rw-r--r-- | nixos/boot.nix | 4 |
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" + '' } |
