Update FredOS-Macbook.nix
This commit is contained in:
parent
2a54416d60
commit
b377396b31
1 changed files with 4 additions and 2 deletions
|
|
@ -4,9 +4,11 @@
|
||||||
# Use mkMerge to allow the insecure package rule to sit alongside the mkIf block
|
# Use mkMerge to allow the insecure package rule to sit alongside the mkIf block
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
# 1. This part always applies if this file is imported
|
# 1. This part always applies if this file is imported
|
||||||
{
|
{{
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
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}"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue