feat(hardening/nixpaks): adjust app's direcotry permission

This commit is contained in:
Ryan Yin
2025-05-26 09:28:19 +08:00
parent e370856b94
commit f5f8b1ecc3
3 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -41,7 +41,8 @@ mkNixPak {
# given the read write permission to the following directories.
# NOTE: sloth.mkdir is used to create the directory if it does not exist!
(sloth.mkdir (sloth.concat [sloth.xdgConfigHome "/QQ"]))
(sloth.mkdir (sloth.concat [sloth.xdgDownloadDir "/QQ"]))
(sloth.mkdir (sloth.concat [sloth.xdgDocumentsDir "/QQ"]))
sloth.xdgDownloadDir
];
sockets = {
x11 = false;