Update FredOS-Macbook.nix

This commit is contained in:
ediblerope 2025-12-19 11:43:12 +00:00 committed by GitHub
parent 2a54416d60
commit b377396b31
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,9 +4,11 @@
# Use mkMerge to allow the insecure package rule to sit alongside the mkIf block
config = lib.mkMerge [
# 1. This part always applies if this file is imported
{
{{
nixpkgs.config.permittedInsecurePackages = [
(pkgs.lib.getName config.boot.kernelPackages.broadcom_sta)
# Reconstructs the name: broadcom-sta- + driver-version + - + kernel-version
# The driver version for Broadcom STA is currently "6.30.223.271"
"broadcom-sta-6.30.223.271-${config.boot.kernelPackages.kernel.version}"
];
}