mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-10-15 19:37:19 +02:00
treewide: remove 'with lib;'
This commit is contained in:
parent
cf54323dc7
commit
78ae241387
53 changed files with 245 additions and 245 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue