summary refs log tree commit diff
path: root/nixos/modules/services/networking/unifi.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-07-30treewide: automatically md-convert option descriptionspennae1-7/+7
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2022-06-03nixos/unifi: change deprecated default for openFirewallpennae1-5/+1
this was deprecated 6 months ago in unstable for removal in 22.11, so now seems like a good point to change the default.
2021-12-17unifi5: Follow new mitigation guidelinesZhaofeng Li1-1/+0
Simply disabling lookups isn't enough, and the JndiLookup class must be removed: https://web.archive.org/web/20211217085954/https://logging.apache.org/log4j/2.x/security.html
2021-12-17nixos/unifi: rename openPorts to openFirewallpennae1-4/+5
openFirewall is the much more common name for an option with this effect. since the default was `true` all along, renaming it doesn't hurt much and only improves consistency with other modules.
2021-12-17nixos/unifi: add deprecation warning for openPortspennae1-1/+5
modules are discouraged from opening ports in the firewall unless explicitly told to do so. add a deprecation notice for this in unifi.
2021-12-12nixos/unifi: Apply log4j2 mitigationZhaofeng Li1-0/+1
2021-11-05nixos/unifi: refactor mountpointsPascal Bach1-54/+26
Use service internal bind mounts instead of global ones. This also moves the logs to /var/log/unifi on the host and the run directory to /run/unifi. Closes #61424
2021-10-15nixos/unifi, unifi: add pennae to maintainerspennae1-1/+1
2021-10-14nixos/unifi: fix unifi ExecStop= being incompatible with systemdpennae1-0/+6
unifi does not shut down properly when stopped via systemd (it always exits with SIGTERM exit status) because systemd wants stop commands to not exit before the main command is gone and unifi does not comply. the easiest way around this is to have systemd send an ignored signal after the stop command has exited. unifi may still throw exceptions during shutdown, but it *does* exit cleanly as far as systemd is concerned now.
2021-10-04nixos/doc: clean up defaults and examplesNaïm Favier1-3/+3
2021-09-18nixos/unifi: define group, fix after #133166Guillaume Girol1-1/+3
2021-05-30nixos/unifi: harden servicePascal Bach1-0/+35
Co-authored-by: Vincent Haupert <mail@vincent-haupert.de>
2020-07-03nixos/unifi: restart service on package updatePascal Bach1-0/+2
Currently the service doesn't detect if on of the packages is updated and doesn't restart. By manually adding a trigger we make sure the service restarts if any of the involved packages update.
2020-01-24nixos/unifi: use systemd tmpfiles instead of preStartNathan Hawkins1-12/+3
2019-08-25nixos/unifi: restarting on failure (#67456)Marek Mahut1-0/+1
2019-08-05nixos/unifi: create data directory with correct permissionsWilliButz1-1/+1
2019-05-26nixos/unifi: replace deprecated usage of PermissionsStartOnlyAaron Andersen1-6/+5
see https://github.com/NixOS/nixpkgs/issues/53852
2019-02-07nixos/unifi: Update TCP portsLily Ballard1-1/+2
Fixes #55377
2019-01-27unifi, nixos/unifi: add erictapen as maintainerJustin Humm1-0/+1
2018-06-30nixos/modules: users.(extraUsers|extraGroup->users|group)Florian Klink1-1/+1
2018-04-28unifi, nixos/unifi: support LTS (5.6.36) and release (5.7.20)Badi Abdul-Wahid1-5/+32
Ubiquiti has both a LTS and current version of their Unifi controller software. The latter adds new features, but may drop support for some devices. This adds the capability to use either for the unifi module but defaults to the LTS version, which was the previous behavior.
2017-08-04unifi: add options to control JVM heap sizeSimon Lackerbauer1-3/+28
Our controller was acting very sluggish at times and increasing available RAM for the JVM fixes this.
2016-08-16unifi: Open required ports by default.Svein Ove Aas1-2/+27
The controller does not work at all if they aren't, with the exception of special configurations involving L3 or custom ports.
2016-08-16unifi: chown the data dir as well.Svein Ove Aas1-3/+3
It needs to be writeable.
2016-04-22unifi: relocatable data dirEric Litak1-0/+14
2016-04-22unifi: fix for closure-size changesEric Litak1-1/+1
2016-02-11unifi: LD_LIBRARY_PATH hack for embedded libsnappyjava.so, fixes #12897Eric Litak1-0/+2
2015-06-23unifi: 3.2.10 -> 4.6.3William A. Kennington III1-1/+1
2015-06-15types.uniq types.bool -> types.boolEelco Dolstra1-1/+1
2015-01-02icedtea: Make major version nonspecific attrsWilliam A. Kennington III1-1/+1
2014-12-05nixos/unifi: Ensure stateDir is mounted before proceedingWilliam A. Kennington III1-0/+2
2014-11-24nixos/unifi: Properly depend on mountpointsWilliam A. Kennington III1-18/+21
2014-11-24unifi: Actually remove webapps at shutdownWilliam A. Kennington III1-1/+1
2014-11-24unifi: Clean all of webapps at start and stopWilliam A. Kennington III1-2/+2
2014-11-24unifi: Fix typoWilliam A. Kennington III1-1/+1
2014-11-14nixos/unifi: Remove old ROOT.war links before relinkingWilliam A. Kennington III1-0/+1
2014-08-05nixos/unifi: Explain and simplify the bind mount configurationWilliam A. Kennington III1-22/+20
2014-08-05nixos/unifi: Fix ordering of mount rulesWilliam A. Kennington III1-3/+6
2014-08-05nixos/unifi: Add service moduleWilliam A. Kennington III1-0/+87