mmcli: sandbox

This commit is contained in:
2024-07-06 18:49:18 +00:00
parent 5db8372b24
commit b7c86d5867
2 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
# after = [ "polkit.service" ];
# requires = [ "polkit.service" ];
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.BusName = "org.freedesktop.ModemManager1";

View File

@@ -22,11 +22,11 @@
mainProgram = "mmcli";
};
});
# TODO: sandbox! somehow doing this breaks ModemManager.service
# sandbox.method = "bwrap";
# sandbox.whitelistDbus = [
# "system"
# ];
sandbox.method = "bwrap";
sandbox.whitelistDbus = [
"system"
];
};
}