From 937fa203809b2d8287ff759d664705e05b891fdd Mon Sep 17 00:00:00 2001 From: Don Harper Date: Wed, 14 May 2025 20:28:08 -0500 Subject: [PATCH] server | cleanup --- hosts/server/default.nix | 2 +- hosts/server/unifi.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = {