diff --git a/hosts/server/default.nix b/hosts/server/default.nix index ffaf282..3ba56c1 100644 --- a/hosts/server/default.nix +++ b/hosts/server/default.nix @@ -142,7 +142,7 @@ in { memoryPercent = 25; memoryMax = 2147483648; }; - #nixpkgs.config.allowUnfree = true; + # nixpkgs.config.allowUnfree = true; environment.systemPackages = with pkgs; [ python-with-my-packages diff --git a/hosts/server/unifi.nix b/hosts/server/unifi.nix index 9839453..4ebd59a 100644 --- a/hosts/server/unifi.nix +++ b/hosts/server/unifi.nix @@ -1,5 +1,5 @@ { pkgs, config, ... }: { - nixpkgs.config.allowUnfreePredicate = pkg: + pkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "unifi-controller" ]; services = { unifi = {