grimm-nixos-laptop/common/tooling/apparmor/apparmor-d-paths.patch

17 lines
612 B
Diff
Raw Normal View History

2024-10-12 18:19:18 +02:00
diff --git a/apparmor.d/tunables/multiarch.d/system b/apparmor.d/tunables/multiarch.d/system
2024-10-13 13:44:16 +02:00
index be37123f..57df7990 100644
2024-10-12 18:19:18 +02:00
--- a/apparmor.d/tunables/multiarch.d/system
+++ b/apparmor.d/tunables/multiarch.d/system
2024-10-13 13:44:16 +02:00
@@ -106,8 +106,9 @@
2024-10-12 18:19:18 +02:00
@{MOUNTS}=@{MOUNTDIRS}/*/ @{run}/user/@{uid}/gvfs/
# Common places for binaries and libraries across distributions
-@{bin}=/{,usr/}{,s}bin
-@{lib}=/{,usr/}lib{,exec,32,64}
2024-10-13 13:44:16 +02:00
+@{base_paths} = /nix/store/* /etc/profiles/per-user/* /run/current-system/sw
+@{bin}=@{base_paths}/bin
+@{lib}=@{base_paths}/lib
2024-10-12 18:19:18 +02:00
# Common places for temporary files
@{tmp}=/tmp/ /tmp/user/@{uid}/