haccfiles/services/unifi.nix

11 lines
177 B
Nix
Raw Permalink Normal View History

2021-08-23 18:43:23 +00:00
{ config, lib, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
services.unifi = {
enable = true;
openPorts = true;
dataDir = "/persist/var/lib/unifi";
};
}