parsons: deploy unifi controller

keep-around/fd9e8941c77dea75114f839693f63a813b2d391b
hexchen 2021-08-23 18:43:23 +00:00
parent d367269e87
commit 41acbdd3e0
2 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,7 @@
../../services/gitlab.nix
../../services/nginx-pages.nix
../../services/gitlab-runner.nix
../../services/unifi.nix
./lxc.nix
];

10
services/unifi.nix Normal file
View File

@ -0,0 +1,10 @@
{ config, lib, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
services.unifi = {
enable = true;
openPorts = true;
dataDir = "/persist/var/lib/unifi";
};
}