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";
|
||||
bubblewrap = {
|
||||
bind.rw = [
|
||||
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
||||
[
|
||||
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/amberol"))
|
||||
(sloth.concat' sloth.xdgCacheHome "/amberol")
|
||||
]
|
||||
];
|
||||
bind.ro = [
|
||||
(sloth.concat' sloth.homeDir "/Music")
|
||||
|
|
|
@ -14,6 +14,10 @@ mkNixPak {
|
|||
"/etc/hosts"
|
||||
];
|
||||
bind.rw = [
|
||||
[
|
||||
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/fragments"))
|
||||
(sloth.concat' sloth.xdgCacheHome "/fragments")
|
||||
]
|
||||
(sloth.concat' sloth.xdgConfigHome "/fragments")
|
||||
];
|
||||
};
|
||||
|
|
|
@ -17,6 +17,10 @@ mkNixPak {
|
|||
]))
|
||||
"/tmp"
|
||||
]
|
||||
[
|
||||
(sloth.mkdir (sloth.concat' sloth.appCacheDir "/chromium"))
|
||||
(sloth.concat' sloth.xdgCacheHome "/chromium")
|
||||
]
|
||||
(sloth.concat [
|
||||
sloth.xdgConfigHome
|
||||
"/chromium"
|
||||
|
|
Loading…
Reference in a new issue