mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixos/hardware.mcelog: remove with lib;
This commit is contained in:
parent
94dbe54a8d
commit
21ed56970e
@ -1,14 +1,11 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
meta.maintainers = with maintainers; [ grahamc ];
|
||||
meta.maintainers = with lib.maintainers; [ grahamc ];
|
||||
options = {
|
||||
|
||||
hardware.mcelog = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = ''
|
||||
Enable the Machine Check Exception logger.
|
||||
@ -18,7 +15,7 @@ with lib;
|
||||
|
||||
};
|
||||
|
||||
config = mkIf config.hardware.mcelog.enable {
|
||||
config = lib.mkIf config.hardware.mcelog.enable {
|
||||
systemd = {
|
||||
packages = [ pkgs.mcelog ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user