treewide: remove 'with lib;'

This commit is contained in:
Felix Buehler 2025-09-21 18:40:36 +02:00
parent cf54323dc7
commit 78ae241387
53 changed files with 245 additions and 245 deletions

View file

@ -3,11 +3,11 @@ let
cfg = config.my.hardware.drive-monitor;
in
{
options.my.hardware.drive-monitor = with lib; {
enable = mkEnableOption "drive-monitor configuration";
options.my.hardware.drive-monitor = {
enable = lib.mkEnableOption "drive-monitor configuration";
OnFailureMail = mkOption {
type = types.nullOr types.str;
OnFailureMail = lib.mkOption {
type = lib.types.nullOr lib.types.str;
description = "Mail address where to send the error report";
default = null;
example = "alarm@mail.com";