packages/nixpak: isolate cache directories
This commit is contained in:
parent
5d382da4d0
commit
9ee476cd2b
3 changed files with 12 additions and 1 deletions
|
@ -9,7 +9,10 @@ mkNixPak {
|
||||||
flatpak.appId = "io.bassi.Amberol";
|
flatpak.appId = "io.bassi.Amberol";
|
||||||
bubblewrap = {
|
bubblewrap = {
|
||||||
bind.rw = [
|
bind.rw = [
|
||||||
|
[
|
||||||
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/amberol"))
|
||||||
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
||||||
|
]
|
||||||
];
|
];
|
||||||
bind.ro = [
|
bind.ro = [
|
||||||
(sloth.concat' sloth.homeDir "/Music")
|
(sloth.concat' sloth.homeDir "/Music")
|
||||||
|
|
|
@ -14,6 +14,10 @@ mkNixPak {
|
||||||
"/etc/hosts"
|
"/etc/hosts"
|
||||||
];
|
];
|
||||||
bind.rw = [
|
bind.rw = [
|
||||||
|
[
|
||||||
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/fragments"))
|
||||||
|
(sloth.concat' sloth.xdgCacheHome "/fragments")
|
||||||
|
]
|
||||||
(sloth.concat' sloth.xdgConfigHome "/fragments")
|
(sloth.concat' sloth.xdgConfigHome "/fragments")
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -17,6 +17,10 @@ mkNixPak {
|
||||||
]))
|
]))
|
||||||
"/tmp"
|
"/tmp"
|
||||||
]
|
]
|
||||||
|
[
|
||||||
|
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/chromium"))
|
||||||
|
(sloth.concat' sloth.xdgCacheHome "/chromium")
|
||||||
|
]
|
||||||
(sloth.concat [
|
(sloth.concat [
|
||||||
sloth.xdgConfigHome
|
sloth.xdgConfigHome
|
||||||
"/chromium"
|
"/chromium"
|
||||||
|
|
Loading…
Reference in a new issue