stuff
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{ lib, inputs }:
|
||||
{ lib, inputs, system ? "aarch64-linux" }:
|
||||
let
|
||||
pkgs = inputs.nixpkgs;
|
||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
let
|
||||
inherit (builtins)
|
||||
|
||||
@@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user