mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
Auto-detect network interface when not configured
If no interface is set in the config, the ARP scanner now picks the first non-loopback, up, IPv4-enabled interface automatically. The setting is optional in the TOML config, sample config, and Nix module. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
49adadf059
commit
08f2dc8340
@@ -22,9 +22,9 @@ in {
|
||||
default = "/var/lib/oott.db";
|
||||
};
|
||||
networking.interface = mkOption {
|
||||
type = types.str;
|
||||
description = "Network interface to use for scans";
|
||||
default = "eno1";
|
||||
type = types.nullOr types.str;
|
||||
description = "Network interface to use for scans. If not set, the first non-loopback connected interface is used automatically.";
|
||||
default = null;
|
||||
};
|
||||
log.level = mkOption {
|
||||
type = types.str;
|
||||
|
||||
Reference in New Issue
Block a user