forked from fi/nix-infra
Add unifi-controller host
This commit is contained in:
parent
5e7a118527
commit
7c65894646
4 changed files with 46 additions and 0 deletions
12
config/hosts/unifi-controller/unifi.nix
Normal file
12
config/hosts/unifi-controller/unifi.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{
|
||||
services.unifi = {
|
||||
enable = true;
|
||||
unifiPackage = pkgs.unifi;
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"unifi-controller"
|
||||
"mongodb"
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue