programs: gnome-weather: sandbox with bwrap

This commit is contained in:
Colin 2024-01-27 14:53:30 +00:00
parent 26b978dcf2
commit 08b1ece56e

View File

@ -2,7 +2,11 @@
# cache dir is just for weather data (or maybe a http cache) # cache dir is just for weather data (or maybe a http cache)
{ ... }: { ... }:
{ {
sane.programs.gnome-weather = { sane.programs."gnome.gnome-weather" = {
sandbox.method = "bwrap";
sandbox.extraHomePaths = [
".config/dconf" # stores city/location settings
];
persist.byStore.plaintext = [ persist.byStore.plaintext = [
".cache/libgweather" ".cache/libgweather"
]; ];