13 lines
222 B
Nix
13 lines
222 B
Nix
|
{ pkgs, lib, ... }:
|
||
|
{
|
||
|
services.unifi = {
|
||
|
enable = true;
|
||
|
unifiPackage = pkgs.unifi;
|
||
|
};
|
||
|
|
||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||
|
"unifi-controller"
|
||
|
"mongodb"
|
||
|
];
|
||
|
}
|