unifi: Use package from nixpkgs
This commit is contained in:
parent
6f0bc543d3
commit
bbeba689c3
1 changed files with 9 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
||||||
{ self, ... }:
|
{ self, ... }:
|
||||||
{ modulesPath, pkgs, ... }: {
|
{ modulesPath, pkgs, lib, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||||
../../users/root
|
../../users/root
|
||||||
|
@ -19,13 +19,14 @@
|
||||||
|
|
||||||
services.unifi = {
|
services.unifi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
unifiPackage = pkgs.unifi.overrideAttrs (_oldAttrs: {
|
unifiPackage = pkgs.unifi;
|
||||||
version = "7.4.162";
|
# unifiPackage = pkgs.unifi.overrideAttrs (_oldAttrs: {
|
||||||
src = builtins.fetchurl {
|
# version = "7.5.176";
|
||||||
url = "https://dl.ubnt.com/unifi/7.4.162/unifi_sysvinit_all.deb";
|
# src = builtins.fetchurl {
|
||||||
sha256 = "sha256-BpZS95NJgSRGjJhVN6Vp8/4djdQEvj+2nfay0YsVPEw=";
|
# url = "https://dl.ubnt.com/unifi/7.5.176-1136930355/unifi_sysvinit_all.deb";
|
||||||
};
|
# sha256 = "prsFq09zYrB74p/MGKjwvZftw78k9wbIva5xFdk+Ztw=";
|
||||||
});
|
# };
|
||||||
|
# });
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue