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, ... }:
|
||||
{ modulesPath, pkgs, ... }: {
|
||||
{ modulesPath, pkgs, lib, ... }: {
|
||||
imports = [
|
||||
(modulesPath + "/virtualisation/proxmox-lxc.nix")
|
||||
../../users/root
|
||||
|
@ -19,13 +19,14 @@
|
|||
|
||||
services.unifi = {
|
||||
enable = true;
|
||||
unifiPackage = pkgs.unifi.overrideAttrs (_oldAttrs: {
|
||||
version = "7.4.162";
|
||||
src = builtins.fetchurl {
|
||||
url = "https://dl.ubnt.com/unifi/7.4.162/unifi_sysvinit_all.deb";
|
||||
sha256 = "sha256-BpZS95NJgSRGjJhVN6Vp8/4djdQEvj+2nfay0YsVPEw=";
|
||||
};
|
||||
});
|
||||
unifiPackage = pkgs.unifi;
|
||||
# unifiPackage = pkgs.unifi.overrideAttrs (_oldAttrs: {
|
||||
# version = "7.5.176";
|
||||
# src = builtins.fetchurl {
|
||||
# url = "https://dl.ubnt.com/unifi/7.5.176-1136930355/unifi_sysvinit_all.deb";
|
||||
# sha256 = "prsFq09zYrB74p/MGKjwvZftw78k9wbIva5xFdk+Ztw=";
|
||||
# };
|
||||
# });
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue