parsons: deploy unifi controller

This commit is contained in:
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/gitlab.nix
../../services/nginx-pages.nix ../../services/nginx-pages.nix
../../services/gitlab-runner.nix ../../services/gitlab-runner.nix
../../services/unifi.nix
./lxc.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";
};
}