pppoe allow secrets for username/password

This commit is contained in:
Daniel Barlow
2024-08-21 00:17:22 +01:00
parent 4cc82e1502
commit 2992771c7e
2 changed files with 20 additions and 6 deletions

View File

@@ -33,8 +33,14 @@ in {
type = liminix.lib.types.service;
description = "ethernet interface to run PPPoE over";
};
username = mkStringOption "username";
password = mkStringOption "password";
username = mkOption {
type = liminix.lib.types.replacable;
description = "username";
};
password = mkOption {
type = liminix.lib.types.replacable;
description = "password";
};
lcpEcho = {
adaptive = mkOption {
description = "send LCP echo-request frames only if no traffic was received from the peer since the last echo-request was sent";