This commit is contained in:
mjallen18
2026-01-22 09:06:45 -06:00
parent 7c7c1dc3f4
commit 45f40e45d8
2 changed files with 5 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
{ lib, inputs }:
{ lib, inputs, system ? "aarch64-linux" }:
let
pkgs = inputs.nixpkgs;
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
let
inherit (builtins)

View File

@@ -56,8 +56,8 @@ in
script = ''
echo "Applying Device Tree Overlays via ConfigFS"
if [[ ${cfg.pi5DisableWifi.enable} ]]
mkdir ${configfsPath}/disable-wifi-pi5
if [ ${if cfg.pi5DisableWifi.enable then "true" else "false"} ]; then
mkdir ${toString configfsPath}/disable-wifi-pi5
cp ${cfg.pi5DisableWifi.overlay} ${configfsPath}/disable-wifi-pi5/dtbo
fi
'';
@@ -65,4 +65,4 @@ in
};
};
};
}
}