swayidle: sandbox

This commit is contained in:
Colin 2024-03-06 21:33:11 +00:00
parent f0d0343b32
commit a9419b7351

View File

@ -34,7 +34,11 @@ in
};
};
};
# sandboxing: TODO
sandbox.method = "bwrap";
sandbox.whitelistDbus = [ "user" ]; #< might need system too, for inhibitors
sandbox.whitelistWayland = true;
services.swayidle = {
description = "swayidle: perform actions when sway session is idle";
after = [ "graphical-session.target" ];