conky: fixup needed paths for bwrap

This commit is contained in:
Colin 2024-01-23 14:34:23 +00:00
parent 25739ec2ba
commit bb63a594ab

View File

@ -3,6 +3,12 @@
sane.programs.conky = {
# TODO: non-sandboxed `conky` still ships via `sxmo-utils`, but unused
sandbox.method = "bwrap";
sandbox.extraPaths = [
"/sys/class/power_supply"
"/sys/devices" # needed by battery_estimate
# "/sys/devices/cpu"
# "/sys/devices/system"
];
fs.".config/conky/conky.conf".symlink.target =
let
battery_estimate = pkgs.static-nix-shell.mkBash {