cleanup
This commit is contained in:
@@ -55,9 +55,11 @@ in
|
|||||||
description = "Apply Raspberry Pi Device Tree Overlays";
|
description = "Apply Raspberry Pi Device Tree Overlays";
|
||||||
script = ''
|
script = ''
|
||||||
echo "Applying Device Tree Overlays via ConfigFS"
|
echo "Applying Device Tree Overlays via ConfigFS"
|
||||||
'' ++ lib.mkIf cfg.pi5DisableWifi.enable ''
|
|
||||||
mkdir ${configfsPath}/disable-wifi-pi5
|
if [[ ${cfg.pi5DisableWifi.enable} ]]
|
||||||
cp ${cfg.pi5DisableWifi.overlay} ${configfsPath}/disable-wifi-pi5/dtbo
|
mkdir ${configfsPath}/disable-wifi-pi5
|
||||||
|
cp ${cfg.pi5DisableWifi.overlay} ${configfsPath}/disable-wifi-pi5/dtbo
|
||||||
|
fi
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user