parsons: deploy unifi controller
This commit is contained in:
parent
d367269e87
commit
41acbdd3e0
2 changed files with 11 additions and 0 deletions
|
@ -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
10
services/unifi.nix
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
services.unifi = {
|
||||||
|
enable = true;
|
||||||
|
openPorts = true;
|
||||||
|
dataDir = "/persist/var/lib/unifi";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue