conky: fixup needed paths for bwrap
This commit is contained in:
parent
25739ec2ba
commit
bb63a594ab
|
@ -3,6 +3,12 @@
|
||||||
sane.programs.conky = {
|
sane.programs.conky = {
|
||||||
# TODO: non-sandboxed `conky` still ships via `sxmo-utils`, but unused
|
# TODO: non-sandboxed `conky` still ships via `sxmo-utils`, but unused
|
||||||
sandbox.method = "bwrap";
|
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 =
|
fs.".config/conky/conky.conf".symlink.target =
|
||||||
let
|
let
|
||||||
battery_estimate = pkgs.static-nix-shell.mkBash {
|
battery_estimate = pkgs.static-nix-shell.mkBash {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user