mirror of
https://codeberg.org/icewind/wifi-prometheus-exporter.git
synced 2026-10-02 00:14:05 +02:00
switch to iw
This commit is contained in:
parent
3ee65f7ca4
commit
8cd4806dc2
4 changed files with 19 additions and 13 deletions
|
|
@ -8,7 +8,7 @@ with lib; let
|
|||
format = pkgs.formats.toml { };
|
||||
configFile = format.generate "wifi-prometheus-exporter-config.toml" {
|
||||
ssh = {
|
||||
inherit (cfg.ssh) address;
|
||||
inherit (cfg.ssh) address user;
|
||||
key_file = "$CREDENTIALS_DIRECTORY/ssh_key";
|
||||
pubkey_file = "$CREDENTIALS_DIRECTORY/ssh_pub_key";
|
||||
};
|
||||
|
|
@ -33,6 +33,10 @@ in
|
|||
type = types.str;
|
||||
description = "ssh address of the access point";
|
||||
};
|
||||
user = mkOption {
|
||||
type = types.str;
|
||||
description = "ssh user";
|
||||
};
|
||||
keyFile = mkOption {
|
||||
type = types.str;
|
||||
description = "path to ssh key file";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue