aboutsummaryrefslogtreecommitdiff
path: root/system/etc
diff options
context:
space:
mode:
Diffstat (limited to 'system/etc')
-rw-r--r--system/etc/pacman.d/hooks/mandb.hook11
-rw-r--r--system/etc/pam.d/swaylock7
-rw-r--r--system/etc/pam.d/system-local-login8
3 files changed, 26 insertions, 0 deletions
diff --git a/system/etc/pacman.d/hooks/mandb.hook b/system/etc/pacman.d/hooks/mandb.hook
new file mode 100644
index 0000000..de5971d
--- /dev/null
+++ b/system/etc/pacman.d/hooks/mandb.hook
@@ -0,0 +1,11 @@
+[Trigger]
+Type = Path
+Operation = Install
+Operation = Upgrade
+Operation = Remove
+Target = usr/share/man/*
+
+[Action]
+Description = Updating manual database...
+When = PostTransaction
+Exec = /usr/bin/mandb --quiet
diff --git a/system/etc/pam.d/swaylock b/system/etc/pam.d/swaylock
new file mode 100644
index 0000000..1c190f0
--- /dev/null
+++ b/system/etc/pam.d/swaylock
@@ -0,0 +1,7 @@
+#
+# PAM configuration file for the swaylock screen locker. By default, it includes
+# the 'login' configuration file (see /etc/pam.d/login)
+#
+
+auth include login
+auth optional pam_gnupg.so
diff --git a/system/etc/pam.d/system-local-login b/system/etc/pam.d/system-local-login
new file mode 100644
index 0000000..397539d
--- /dev/null
+++ b/system/etc/pam.d/system-local-login
@@ -0,0 +1,8 @@
+#%PAM-1.0
+
+auth include system-login
+auth optional pam_gnupg.so
+account include system-login
+password include system-login
+session include system-login
+session optional pam_gnupg.so