feat(tunable): add variables for some system-users.

This commit is contained in:
Alexandre Pujol 2024-03-16 19:43:22 +00:00
parent 1148b8faad
commit af5171e39d
Failed to generate hash of commit

View file

@ -0,0 +1,23 @@
# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
# Define some extra paths for some commonly used system user
# Full path of the GDM configuration directories
@{GDM_HOME}=/var/lib/gdm{,3}/
@{gdm_cache_dirs}=@{GDM_HOME}/.cache/
@{gdm_config_dirs}=@{GDM_HOME}/.config/
@{gdm_share_dirs}=@{GDM_HOME}/.local/share/
# Full path of the SDDM configuration directories
@{SDDM_HOME}=/var/lib/sddm/
@{sddm_cache_dirs}=@{SDDM_HOME}/.cache/
@{sddm_config_dirs}=@{SDDM_HOME}/.config/
@{sddm_share_dirs}=@{SDDM_HOME}/.local/share/
# Full path of all DE configuration directories
@{DESKTOP_HOME}=@{GDM_HOME} @{SDDM_HOME}
@{desktop_cache_dirs}=@{DESKTOP_HOME}/.cache/
@{desktop_config_dirs}=@{DESKTOP_HOME}/.config/
@{desktop_share_dirs}=@{DESKTOP_HOME}/.local/share/