Update FredOS-Macbook.nix
This commit is contained in:
parent
b377396b31
commit
25a2bc500d
1 changed files with 2 additions and 2 deletions
|
|
@ -4,13 +4,13 @@
|
||||||
# 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 = [
|
||||||
# Reconstructs the name: broadcom-sta- + driver-version + - + kernel-version
|
# Reconstructs the name: broadcom-sta- + driver-version + - + kernel-version
|
||||||
# The driver version for Broadcom STA is currently "6.30.223.271"
|
# The driver version for Broadcom STA is currently "6.30.223.271"
|
||||||
"broadcom-sta-6.30.223.271-${config.boot.kernelPackages.kernel.version}"
|
"broadcom-sta-6.30.223.271-${config.boot.kernelPackages.kernel.version}"
|
||||||
];
|
];
|
||||||
}
|
};
|
||||||
|
|
||||||
# 2. This part only applies if the hostname matches
|
# 2. This part only applies if the hostname matches
|
||||||
(lib.mkIf (config.networking.hostName == "FredOS-Macbook") {
|
(lib.mkIf (config.networking.hostName == "FredOS-Macbook") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue