cleanup
This commit is contained in:
@@ -49,16 +49,18 @@ in
|
||||
# w1-gpio-pi5.dtbo
|
||||
# w1-gpio-pullup-pi5.dtbo
|
||||
|
||||
systemd.services = {
|
||||
apply-overlays = {
|
||||
description = "Apply Raspberry Pi Device Tree Overlays";
|
||||
script = ''
|
||||
echo "Applying Device Tree Overlays via ConfigFS"
|
||||
'' ++ lib.mkIf cfg.pi5DisableWifi.enable ''
|
||||
mkdir ${configfsPath}/disable-wifi-pi5
|
||||
cp ${cfg.pi5DisableWifi.overlay} ${configfsPath}/disable-wifi-pi5/dtbo
|
||||
'';
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
config = {
|
||||
systemd.services = {
|
||||
apply-overlays = {
|
||||
description = "Apply Raspberry Pi Device Tree Overlays";
|
||||
script = ''
|
||||
echo "Applying Device Tree Overlays via ConfigFS"
|
||||
'' ++ lib.mkIf cfg.pi5DisableWifi.enable ''
|
||||
mkdir ${configfsPath}/disable-wifi-pi5
|
||||
cp ${cfg.pi5DisableWifi.overlay} ${configfsPath}/disable-wifi-pi5/dtbo
|
||||
'';
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user