New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unifi, nixos/unifi: support LTS (5.6.36) and release (5.7.20) #37799
Conversation
Related to #36612 |
''; | ||
}; | ||
|
||
services.unifi.unifi = mkOption { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer this being called package
|
||
services.unifi.unifi = mkOption { | ||
type = types.package; | ||
default = pkgs.unifiLTS; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to add defaultText = "pkgs.unifiLTS";
to make sure that the manual does not depend on unifiLTS
(which is the error in the PR CI status), same for the other package options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for pointing that out! I did not know about defaultText
.
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.
Mind taking another look? |
Motivation for this change
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.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)