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

@ -8,18 +8,18 @@ let
cfg = config.my.services.fritzbox;
in
{
options.my.services.fritzbox = with lib; {
enable = mkEnableOption "Fritzbox-Monitoring";
options.my.services.fritzbox = {
enable = lib.mkEnableOption "Fritzbox-Monitoring";
username = mkOption {
type = types.str;
username = lib.mkOption {
type = lib.types.str;
default = "prometheus";
example = "admin";
description = "Admin username";
};
passwordFile = mkOption {
type = types.str;
passwordFile = lib.mkOption {
type = lib.types.str;
example = "/var/lib/fritz/password.txt";
description = "password stored in a file";
};