mmcli: sandbox
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
# after = [ "polkit.service" ];
|
# after = [ "polkit.service" ];
|
||||||
# requires = [ "polkit.service" ];
|
# requires = [ "polkit.service" ];
|
||||||
wantedBy = [ "network.target" ]; #< default is `multi-user.target`, somehow it doesn't auto-start with that...
|
wantedBy = [ "network.target" ]; #< default is `multi-user.target`, somehow it doesn't auto-start with that...
|
||||||
# path = [ "/run/current-system/sw" ]; #< so it can find `sanebox`
|
path = [ "/run/current-system/sw" ]; #< so it can find `sanebox`
|
||||||
|
|
||||||
# serviceConfig.Type = "dbus";
|
# serviceConfig.Type = "dbus";
|
||||||
# serviceConfig.BusName = "org.freedesktop.ModemManager1";
|
# serviceConfig.BusName = "org.freedesktop.ModemManager1";
|
||||||
|
@@ -22,11 +22,11 @@
|
|||||||
mainProgram = "mmcli";
|
mainProgram = "mmcli";
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
# TODO: sandbox! somehow doing this breaks ModemManager.service
|
|
||||||
# sandbox.method = "bwrap";
|
sandbox.method = "bwrap";
|
||||||
# sandbox.whitelistDbus = [
|
sandbox.whitelistDbus = [
|
||||||
# "system"
|
"system"
|
||||||
# ];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user