Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ingon committed Jan 24, 2025
1 parent bac8e92 commit b8dec88
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,11 @@ in
# ...
services.connet = {
enable = true;
tokenFile = "/run/keys/connet.token";
serverAddr = "localhost:19190";
sources.example.addr = ":9000";
settings.client = {
token-file = "/run/keys/connet.token";
server-addr = "localhost:19190";
sources.example.addr = ":9000";
};
};
}
```
Expand All @@ -349,11 +351,13 @@ To configure the client as a service:
# ...
connet.nixosModules.default
{
services.connet = {
services.connet-client = {
enable = true;
tokenFile = "/run/keys/connet.token";
serverAddr = "localhost:19190";
sources.example.addr = ":9000";
settings.client = {
token-file = "/run/keys/connet.token";
server-addr = "localhost:19190";
sources.example.addr = ":9000";
};
};
}
];
Expand Down

0 comments on commit b8dec88

Please sign in to comment.