summary refs log tree commit diff
path: root/nixos/modules/services/networking/cjdns.nix
Commit message (Collapse)AuthorAge
* nixos/cjdns: add extraConfig option (#53502)Eric Litak2019-08-18
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-20
|
* nixos/cjdns: fix service for i686 (#40740)xeji2018-05-20
| | | | service failed to start because of MemoryDenyWriteExecute = true, which seems not to work on i686
* cjdns service: allow daemon to drop privilegesJoachim Fasting2017-02-05
| | | | | The service can run certain components with reduced privileges, but for that it needs the setuid capability.
* cjdns service: allow writing keys to /etcJoachim Fasting2017-02-05
| | | | | | | | | 20e81f7c0d56e0b179115ca72a85b81ff637d909 prevented key generation in `preStart`, leaving the service broken for the case where the user has no pre-existing key. Eventually, we ought to store the state elsewhere so that `/etc` can be read-only but for now we fix this the easy way.
* cjdns service: optionally add cjdns hosts to networking.extraHostsTomas Hlavaty2017-01-02
| | | | | | Enabling this incurs a heavy eval-time cost, but it's a nice usability enhancement; satisfy both concerns by making it optional (default false).
* Revert "nixos/cjdns: do not ammend /etc/hosts"Joachim Fasting2017-01-02
| | | | | | This reverts commit 60ded3f3632d221ca3f82a52392e155517880456. We want to make this optional instead.
* cjdns: Improving systemd unit descriptionSophie Taylor2016-11-27
|
* nixos/cjdns: do not ammend /etc/hostsEmery Hemingway2016-11-18
| | | | | | Generating IPv6 addresses at eval time required building cjdns. Fix #20422
* nixos/cjdns: tightened permissions via systemd, added capsSophie Taylor2016-11-04
|
* cjdns module: fix typoJoachim Fasting2016-11-04
|
* cjdns service: refactor cjdns hosts builderJoachim Fasting2016-10-27
| | | | | | | The old version would export two lists to a bash builder and do pairwise processing on the bash side. In the new version we instead generate a logic free builder on the Nix side. This is not only conceptually simpler but reduces the amount of code and intermediate values.
* cjdns service: ensure that generated passwd has requested lengthJoachim Fasting2016-10-27
| | | | | | | `head -cNUM ... | tr -dc SET` might generate output containing fewer than NUM characters. Given the limited alphabet, this could result in a fairly weak passphrase. The construction `tr </dev/urandom | head -cNUM`, however, is sure to give us the full `NUM`.
* cjdns service: protect /home and /tmpJoachim Fasting2016-10-27
|
* cjdns service: better typesJoachim Fasting2016-10-27
| | | | | - types.string -> str, string is deprecated - change type of confFile option to nullOr path, makes more sense
* cjdns service: use cfg.enable shortcutJoachim Fasting2016-10-27
|
* cjdns service: whitespace cleanupJoachim Fasting2016-10-27
|
* treewide: minor format / style / documentation fixesAlexander Ried2016-09-13
|
* cjdns service: network-interfaces.target -> network.targetJoachim Fasting2016-09-13
|
* cjdns: fix assertion.Carles Pagès2016-08-25
|
* nixos: fix cjdns json configEmery Hemingway2015-04-25
| | | | filter extraneous attributes from config modules
* cjdns: service tweaks, new NixOS testEmery Hemingway2014-11-08
|
* cjdns: add peer hostnames to extraHosts, option for external configEmery Hemingway2014-10-21
|
* cjdns: update from 20140919 20140922Emery Hemingway2014-09-23
| | | | | | | package installs to .../bin fix service module to look in .../bin Closes #4240
* cjdns: new declarative service expressionEmery Hemingway2014-08-31
| | | | | systemd service wants network-interfaces.target rather than network.target assertion on config.networking.enableIPv6
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* cjdns: update to 20130303Emery Hemingway2014-04-09
build system is now nodejs based new nixos module to start cjdns