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

@ -10,18 +10,18 @@ let
inherit (config.networking) domain;
in
{
options.my.services.grafana = with lib; {
enable = mkEnableOption "Grafana for visualizing";
options.my.services.grafana = {
enable = lib.mkEnableOption "Grafana for visualizing";
username = mkOption {
type = types.str;
username = lib.mkOption {
type = lib.types.str;
default = "felix";
example = "admin";
description = "Admin username";
};
passwordFile = mkOption {
type = types.str;
passwordFile = lib.mkOption {
type = lib.types.str;
example = "/var/lib/grafana/password.txt";
description = "Admin password stored in a file";
};