git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #75242 from mkg20001/cjdns-fix

services.cjdns: add missing, optional login & peerName attribute

commit7458dcd956cfd5b3ef2e54c44361f71388a3858c authorMaciej Krüger <mkg20001@gmail.com> dateTue 18 May 2021, 18:22 (6 years ago) parent7d9b6267409f9b
1 file changed+12−2
nixos/modules/services/networking/cjdns.nix+12−2
nixos/modules/services/networking/cjdns.nix+12−2
@@ -12,8 +12,18 @@ let
1212 { ... }:
1313 { options =
1414 { password = mkOption {
15− type = types.str;
16− description = "Authorized password to the opposite end of the tunnel.";
15+ type = types.str;
16+ description = "Authorized password to the opposite end of the tunnel.";
17+ };
18+ login = mkOption {
19+ default = "";
20+ type = types.str;
21+ description = "(optional) name your peer has for you";
22+ };
23+ peerName = mkOption {
24+ default = "";
25+ type = types.str;
26+ description = "(optional) human-readable name for peer";
1727 };
1828 publicKey = mkOption {
1929 type = types.str;